This is a boilerplate for rendering a React application both on the server and client. It includes support for store, code-splitting, routing, hot reloading, linting, auto code formatting and more.
Clone this repo:
git clone
Build and run in development mode:
npm run start:dev
Build and run in production mode:
npm run start:prod
And visit http://localhost:3000 in your browser to see your app.
This boilerplate uses the following packages:
- Babel v6 - ES2015+ transpiling
- React 16 - client side
- Webpack v4 - Bundling/async chunk loading/minification
- React Loadable v5 - Component level code-splitting
- React Router v4 - Navigation between pages
- React Router config - router config with decentralized routes
- React Hot Loader v4 - Auto reloading of code in development
- React Helmet v5 - Enable easy changing of the title tag
- Express v4 - Server-side rendering
- App Scripts v1 - ESLint and Prettier
- React Redux - Store
- React Saga - effects
- Styled Components - styled components