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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access