Chapter 7. Building the server
This chapter covers
- Setting up Node.js with Express
- Writing Express middleware
- Using React Router on the server to handle view routing
- Rendering React on the server with the renderToString function
- Fetching data on the server using Redux
- Implementing a static method on your components to handle data fetching
This chapter is all about the code that needs to happen on the server. I’ll cover server-specific topics including using Express and using your component and routing code on the server. For example, you’ll learn how to declare the actions of your application in a way that allows the server to fetch them automatically on every page render.
Yes, you read that correctly: you’re going to run your React, React ...
Get Isomorphic Web Applications 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.