Using VanillaJS

Not having enough diversity in the ecosystem of frontend JavaScript rendering libraries isn't a problem. In fact, the problem for us is the exact opposite—there's too many libraries and frameworks to choose from. While some people in the JavaScript community view this disjointed plethora of choice as a problem, it doesn't have to be. It's better to have too many technologies to choose from than not enough.

In this section, we'll discuss using VanillaJS as our view technology—no libraries or frameworks. The idea isn't to completely avoid using frameworks, it's to keep our options open as the architecture of our application unfolds. Eventually, we might move our view components to use React, or perhaps there's some other new hotness ...

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.