Scaffold for building an universal react applicatioin.
Used:
- webpack@3
- react@16 react-router@4 redux
- universal-component
- express
- typescript, babel
require.extensions
technology
- hot-reload anything in dev-mode
- easy to debug
- manage static file
- just a simple react universal framework implement. Easy to expand.
$ yarn global add typescript
$ yarn
run in debug mode
yarn run dev
build
yarn run build
run in production mode
yarn run bundle
- Include redux
- Include css module
-
Visual Studio Code use nodemon - require.ensure
- Code Splitting
- Production useful
- Optmize webpack config