Chapter 6. Building Richer Web Applications
In the last chapter, we saw what Single Page Applications (SPAs) are and took a deep dive into learning little details about them. SPAs are, as the name suggests, developed to contain a single page. This page is then refreshed and new content is loaded dynamically, based on the users clicks, using AJAX and HTML5.
In this chapter, we'll cover a few advanced techniques for SPAs. We'll cover the following:
- Real-time communication with websockets
- Improving load times with CLJS modules
- Server-side rendering
Real-time communication with websockets
WebSockets are a modern browser feature that make it easier and more efficient to work with real-time streaming data, without the hackiness of long-polling HTTP connections. ...
Get Learning ClojureScript 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.