Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Covered blog post on classic vs. angle bracket invocation #587

Merged
merged 2 commits into from
Mar 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions source/2020-03-27-the-ember-times-issue-141.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ responsive: true

Yehuda's Octane Tutorial 🔥,
A quick tip for refactoring your templates 📑,
Dive into angle and curly bracket invocations 🔍,
Track JavaScript's built-in classes 💯,
Ember Autostash Modifier 💾,
Decorator positioning now enforceable ↕️,
Expand Down Expand Up @@ -45,19 +46,19 @@ So be on the look out 👀 for more in this very helpful new series!

---

## [Achieve consistent decorator positioning with a new eslint plugin ↕️](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this section down so that I could group related posts that were about Ember templates.

## [A quick tip for refactoring your templates 📑](https://abhilashlr.in/ember-refactor-templates)

Ever had to **put up with** inconsistent decorator positions in pull requests, because there wasn't a lint rule for that?
_Now_ there is! 🎉 [eslint-plugin-decorator-position](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position)
provides some configuration with some recommended defaults to help your project achieve that last bit of consistency.
[Abhilash L Ramesh @abhilashlr](https://github.com/abhilashlr) wrote a small and clear [blog post](https://abhilashlr.in/ember-refactor-templates) with actionable tips to make your Ember Templates cleaner. So if you have complex `if-else` logic in your template that you would like to make clearer, this blog post could help you out.

He also added some extra bonus tips, but no **spoilers** here, head to the [blog post](https://abhilashlr.in/ember-refactor-templates) to check them out!

---

## [A quick tip for refactoring your templates 📑](https://abhilashlr.in/ember-refactor-templates)
## [Ember templates: classic vs. angle bracket syntaxes 🔍](https://0xadada.pub/2020/03/20/ember-emplates-classic-vs-angle-bracket-syntaxes/)

[Abhilash L Ramesh @abhilashlr](https://github.com/abhilashlr) wrote a small and clear [blog post](https://abhilashlr.in/ember-refactor-templates) with actionable tips to make your Ember Templates cleaner. So if you have complex `if-else` logic in your template that you would like to make clearer, this blogpost could help you out.
From Yehuda and Abhilash's blog posts, you got to see a bit of how templates work. We got 1 additional resource for you!

He also added some extra bonus tips, but no **spoilers** here, head to the [blog post](https://abhilashlr.in/ember-refactor-templates) to check them out!
[@0xADADA](https://github.com/0xadada) and [@dfreeman](https://github.com/dfreeman) did a [deep-dive into classic and angle bracket invocations](https://0xadada.pub/2020/03/20/ember-emplates-classic-vs-angle-bracket-syntaxes/). Please have a look to learn how these invocations handle attributes and arguments differently.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because 0xADADA didn't make their name public, I showed just the GitHub handle for both authors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good call! 👍


---

Expand All @@ -67,7 +68,15 @@ New modifier alert 🚨! [Preston Sego @NullVoxPopuli](https://github.com/NullVo

This modifier is useful for chat apps, where you'd want to persist incomplete messages on a contact's page while the user navigates between other contacts before finishing and submitting a message, or where you want to bind component data based on the URL. Checkout this [demo](https://nullvoxpopuli.github.io/ember-autostash-modifier/1) of the modifier in action.

It's so nice to see the eco-system of Ember modifiers continue to grow 😀, we can't wait to see what the awesome folks in the Ember community come up with next!
It's so nice to see the eco-system of Ember modifiers continue to grow 😀, we can't wait to see what the awesome folks in the Ember community come up with next!

---

## [Achieve consistent decorator positioning with a new eslint plugin ↕️](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position)

Ever had to **put up with** inconsistent decorator positions in pull requests, because there wasn't a lint rule for that?
_Now_ there is! 🎉 [eslint-plugin-decorator-position](https://github.com/NullVoxPopuli/eslint-plugin-decorator-position)
provides some configuration with some recommended defaults to help your project achieve that last bit of consistency.

---

Expand Down