© Yiyi Sun 2019
Yiyi SunPractical Application Development with AppRunhttps://doi.org/10.1007/978-1-4842-4069-4_9

9. Server-Side Rendering

Yiyi Sun1 
(1)
Thornhill, ON, Canada
 

The single-page application (SPA) has become popular because it has a smooth and fluent user experience more like a native desktop application or even a native mobile app. This approach solves the problem of being interrupted by a white/blank screen caused by reloading the full page on the server side. However, an SPA comes with its own problems. It tends to be slow on startup because the application code is compiled into client-side scripts. The scripts usually are large files that require some time to download and parse. When the browser is downloading and parsing the scripts, ...

Get Practical Application Development with AppRun: Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components now with O’Reilly online learning.

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