Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 501 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 501 Bytes

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)
  • Use react-loadable (async / split chunks)

Usage

dev mode

npm dev

prod mode

npm prod