Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 941 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 941 Bytes

Create React App with Server side rendering and other goodies

Following this article: Server-side rendering with create-react-app, code-splitting, preloaded data, React Router, Helmet, Redux, and Thunk

The main difference is that we are not using Redux, but Context Api

Running

  • npm install
  • npm run build
  • npm run serve

Further TODOs

  • Currently we can't start the app without the server, as it fails to fetch for the API.
  • Add different meta tags for different routes via Helmet
  • Preload Context state (similar to solution in the mentioned article maybe)

This project was bootstrapped with Create React App.