Use react-starter-ssr for server-side-rendering
An opinionated simple react boilerplate
Clone the boilerplate
git clone https://github.com/rkkautsar/react-starter
Install dependencies
npm install
npm start # run development server at :4000
npm run build # build production to dist/
Reset git
rm -rf .git
git init
- React 16
- Babel (stage-0, async-await)
- ESLint + Prettier
- Redux
- Ava
- React Router
- Styled Components
- Superagent
- Webpack 4 (Webpack)
- React Loadable & Code Splitting
- More refactoring