Chapter 10. Server-Side React Components

Everything that you've learned so far in this book has been React code that runs in web browsers. However, React isn't confined to the browser for rendering, and in this chapter, you'll learn about rendering components from a Node.js server.

The first section of this chapter briefly touches upon the high-level server rendering concepts. The next four sections go into depth, teaching you how to implement the most crucial aspects of server-side rendering with React.

Let's do this.

What is isomorphic JavaScript?

Another term for server-side rendering is isomorphic JavaScript. This is a fancy way of saying JavaScript code that can run in the browser and in Node.js without modification. In this section, we'll go ...

Get React and React Native 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.