@datntdev/cra-template-redux-router
v0.1.0
Published
The create-react-app template with tools for SDLC
Downloads
5
Maintainers
Readme
@datntdev/cra-template-redux-router
This is Create React App template of @datntdev0.
This includes some features:
- Add Sass compiler for using .scss stylesheet in project.
- Code style guide and coding convention with Prettier and ESlint tools.
- Component tests with Jest tool.
- End to end tests with Cypress tool.
- Debugging component tests in VSCode.
- In
main
branch: build project in production. - In
develop
branch: run component tests and end-to-end tests. - React-Redux with Redux Toolkit, demo with counter.
- React-Router with 3 demo routes:
- localhost:3000/: for default React demo page.
- localhost:3000/redux-hook: for Redux demo with React Hook.
- localhost:3000/redux-connect: for Redux demo with React Class.
- Component tests, reducer tests and end-to-end tests.
Usages
To use this template, add --template @datntdev/redux-router
when creating a new app.
For example:
npx create-react-app my-app --template @datntdev/redux-router
# or
yarn create react-app my-app --template @datntdev/redux-router