© 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 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.