This is yet another TypeScript template for Create React App.
To use this template, add --template tscomplete
when creating a new app.
For example:
npx create-react-app my-app --template tscomplete
# or
yarn create react-app my-app --template tscomplete
This template creates a React app with:
- TypeScript
- Redux Toolkit
- Redux-Saga
- Sass
There are test examples for React components, React components with Redux, Redux reducers, and Sagas. Saga testing is done with Redux-Saga Test Plan.
Compiles and then lints all Typescript files (.ts, .tsx).
Lints and applies fixes on all Typescript files (.ts, .tsx).
Watches and lints (does not compile) all Typescript files (.ts, .tsx).
Start the Storybook explorer on port 9009
Build the storybook configured in the Storybook directory into a static web app and place it inside the storybook-static
directory.
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.