A simple react project template using create-react-app.
create-react-app@5
craco@7
react@18
react-router-dom@6
antd@5
@reduxjs/toolkit
,react-redux
sass
husky
,lint-staged
eslint
,prettier
typescript
There is also an old version of template using
cra@4
, see this.
- Use
pnpm
as package manager - Latest version
react
- Fully Typescript support
- Use
ant design
as component library - Best practices of
redux
- Customize
create-react-app
configuration usingcraco
eslint
+prettier
+editorconfig
husky
+lint-staged
- Lazy loading routes with
nprogress
fallback - Proxy management
- Create React App
- CRACO
- Redux Toolkit TypeScript Quick Start
- After seting up with pnpm, thne, when it runs, there is an error 'Property 'toBeInTheDocument' does not exist on type 'JestMatchers' in App.test.tsx #12622
MIT