#77 Optimize Ember Templates

I have to admit that it never crossed my mind to optimize my ember app by changing how I create my templates until I read this article.

Here is just one simple example from the article:

If you rewrite:

like this:

Your app size goes from 3.8kb to 1.2kb – WOW!!!  Multiply that by the number of if statements in your templates and you can see the benefit.  Pretty cool!!!


Also published on Medium.

Published by

Emad Ibrahim

Author of asp .net MVC & TDD, entrepreneur, passionate technologist, programmer and productivity nut. more at http://t.co/oSJXPvzu