Skip to content

Create React App with Server side rendering and other goodies

Notifications You must be signed in to change notification settings

lab-coop/cra-ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Create React App with Server side rendering and other goodies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published