cra-template-typescript-hmr
v1.0.9
Published
This is a TypeScript template with hot module reloading support, for Create React App.
Downloads
4
Maintainers
Readme
cra-template-typescript-hmr
This is a TypeScript template with hot module reloading support, for Create React App.
To use this template, add --template cra-template-typescript-hmr
when creating a new app.
For example:
npm init react-app my-app --template cra-template-typescript-hmr
# or
yarn create react-app my-app --template create-template-typescript-hmr
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
Note
This template uses react-app-rewire-hot-loader, which in turn uses react-app-rewired. The latter overrides react-scripts, which is what powers Create React App. This may break things in future builds, which I will be responsible for fixing.