If you think of an individual tweet as a Handlebars template, you can understand why it would be expensive to compile a template each time a tweet is rendered. Precompiling templates saves time on the client side by reducing your application’s runtime.
7 comments
14 comments
Handlebars.js Tutorial: Templating with Handlebars
Templates are useful when building web applications by allowing you to easily display repeating data. Handlebars.js is a templating engine that allows you to take repeating data and display it in an organized fashion.