Introduction
How to use Blaze, Meteor's frontend rendering system, to build usable and maintainable user interfaces.
After reading this guide, you’ll know:
- How to use the Spacebars language to define templates rendered by the Blaze engine.
- Best practices for writing reusable components in Blaze.
- How the Blaze rendering engine works under the hood and some advanced techniques for using it.
- How to test Blaze templates.
Blaze is Meteor’s built-in reactive rendering library. Usually, templates are written in Spacebars, a variant of Handlebars designed to take advantage of Tracker, Meteor’s reactivity system. These templates are compiled into JavaScript UI components that are rendered by the Blaze library.
Blaze is not required to build applications in Meteor—you can also easily use React or Angular to develop your UI. However, this particular article will take you through best practices in building an application in Blaze, which is used as the UI engine in all of the other articles.