Skip to Main Content
Isomorphic Web Applications
book

Isomorphic Web Applications

by Elyse Gordon
June 2018
Intermediate to advanced content levelIntermediate to advanced
320 pages
10h 11m
English
Manning Publications
Content preview from Isomorphic Web Applications

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Isomorphic JavaScript Apps

Building Isomorphic JavaScript Apps

Jason Strimpel, Maxime Najim
Pro React 16

Pro React 16

Adam Freeman

Publisher Resources

ISBN: 9781617294396Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link