Ember has a ton of useful tools for writing clean, concise code. Sometimes we are so focused on the challenge at hand that we fail to utilize some of the most basic tools at our disposal. This blog is a super fast read, but will provide you (or refresh your memory) with the power of Ember Computed Macros.
These are fairly common patterns in Ember…
There is nothing functionally wrong with these computed properties. However, these patterns are so common that Ember has developed a cleaner way to handle them.
So how do you get access to these macros… simple… just import them into your file.