Using jQuery and Handlebars
Both jQuery and Handlebars are pervasive technologies in modern web applications. There's a high probability that someone new to Flux has used one or both of these technologies, so we'll spend this section implementing some views that use both jQuery and Handlebars.
We'll start with a discussion on what makes jQuery and Handlebars a good fit for implementing view components. Then, we'll implement a basic view that uses these technologies to render the state of Flux stores. After this, we'll think about the various ways that we can compose larger views out of smaller parts and how to best handle user events.
Why jQuery and Handlebars?
Before there were JavaScript frameworks, there was jQuery. This small library set out ...
Get Flux Architecture now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.