Simple get started project for server side rendering with React and React Router.
npm i
npm run dev
Run for local development, file watching and reloading. (No hot reload, at the mo)
npm start
Main script to run app on server. Should work locally.
npm run build
Build production bundle.
- Low complexity
- Easy to get started with
- Lowest amount of dependencies possible while being useful
Useful blog post ReactJS : Server side rendering with router v4 & redux
More ideas from git repo js-stack-from-scratch