This post in going to explore the idea of writing your own Ember macros as a strategy for DRYing up and creating more modular Ember code. As you'll see, besides the maintainability and flexibility benefits gained by DRYing up and decoupling code, isolated code is significantly easier to test. We'll be using a sample application to illustrate refactoring some code into a macro.
Your new post is loading...