Chapter 10. Displaying Views

The heart and soul of most SPAs is a dynamic frontend. SPAs move a lot of the heavy lifting, related to display logic, onto the browser. Modern browsers have fast and powerful JavaScript engines that can handle a lot more computation than just a few years ago. In fact, Node.js is built on top of the VB engine, which is a standard part of the Chrome browser.

Most importantly, however, the main idea of an SPA is to give the user an experience approaching that of a desktop application. Complete page loads are a thing of the past, replaced by snappy changes in state.

In this chapter, we will build out the heart of our own SPA. This will be a dashboard where users can build giftlists and share them with other users. We will ...

Get Mastering JavaScript Single Page Application Development now with O’Reilly online learning.

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