react-redux-typescript-boilerplate
react-redux-typescript-boilerplate copied to clipboard
A bare minimum frontend boilerplate with React 16, Typescript 3 and Webpack 4
Frontend Boilerplate with React, Redux & TypeScript
A bare minimum react-hooks-redux-webpack-typescript boilerplate with TodoMVC example.
Note that this project does not include Server-Side Rendering, Static code analysis, Testing Frameworks If needed, please fork this repository and add your own that meets your requirements.
Ideal for creating React apps from the scratch.
Contains
- [x] Typescript 3.8
- [x] React 16.12
- [x] Redux 4
- [x] Redux Thunk 2.3
- [x] React Router 5.1
- [x] Redux DevTools Extension
- [x] TodoMVC example
Build tools
- [x] Webpack 4
- [x] Tree Shaking
- [x] Webpack Dev Server
- [x] Typescript Loader
- [x] PostCSS Loader
- [x] PostCSS Preset Env
- [x] CSS modules
- [x] React Hot Loader
- [x] Mini CSS Extract Plugin
- [x] HTML Webpack Plugin
Installation
$ npm ci
Running
$ npm start
Build
$ npm run build
Deploy (to the GitHub Pages)
$ npm run deploy
License
MIT