This is a WIP for a React universal app boilerplate.
Clone the repository:
git clone https://github.com/dispix/react-boilerplate.github
This project uses Yarn, check this page to install it on your platform: https://yarnpkg.com/en/docs/install
Install npm dependencies:
yarn
Or if you prefer not using yarn:
npm i
The main commands are:
npm start
: starts a dev server with hot reloadingnpm build
: build a production build of your applicationnpm test
: lints and runs jest for unit and snapshot testing
- Use express and make the app universal
- Configure
webpack.prod.js
- Switch to CSS in JS
- Configure a service worker
- Split the bundle between sources and vendors