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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.