React SSR with code-splitting
👇 | Includes |
---|---|
⚙ | Babel 7 |
📦 | Webpack 4 |
⚛ | React 16 |
⚝ | Redux |
🤖 | Express Server |
🔥 | Hot Module Replacement |
✂️ | Code Splitting |
🛎 | Server Side Rendering |
Pre requirements
Libraries docs
Getting started
$ git clone https://github.com/mirchenko/react-code-splitting.git <YOUR_FOLDER_NAME>
$ cd <YOUR_FOLDER_NAME>
Install dependencies
$ yarn
Run the app in the development mode
Build and run the app on http://localhost:8080.
$ yarn start
Build the app in the production mode
$ yarn build
$ yarn server-build
Run the app in production mode
Run the app on http://localhost:8079.
$ yarn prod