https://github.com/trustyoo86/react-typescript-webpack4
react + typescript + webpack4 example
https://github.com/trustyoo86/react-typescript-webpack4
es6 javascript react redux typescript webpack
Last synced: 11 months ago
JSON representation
react + typescript + webpack4 example
- Host: GitHub
- URL: https://github.com/trustyoo86/react-typescript-webpack4
- Owner: trustyoo86
- Created: 2018-04-09T16:08:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T04:13:34.000Z (almost 3 years ago)
- Last Synced: 2025-04-25T13:05:03.177Z (about 1 year ago)
- Topics: es6, javascript, react, redux, typescript, webpack
- Language: TypeScript
- Size: 5.47 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-typescript-webpack4
React + Typescript example using webpack 4.
This example should installed rimraf npm modules globally.
## Plugins
- react (v16.9.0)
- typescript (v3.6.2)
- redux (v4.0.4)
- webpack (v4.39.3)
- redux-thunk (v2.3.0)
## Apply
- Use Functional component in react
- Use redux pattern ([see](https://redux.js.org/recipes/usage-with-typescript))
- Use react-loadable (async / split chunks)
## Usage
### dev mode
```bash
npm dev
```
### prod mode
```bash
npm prod
```