Drop-in Replacement for CRA but powered by Vite
Things in CRA, supported here:
- Import SVG's directly as React Component via SVGR
- Unit Testing via Jest & React Testing Library
- ESLint Rules & Prettier
- Tailwind
- Absolute imports within
src
directory
Extra Additions
- Conventional Commits using
Commitlint
- Run Lint Checks, TS Checks, Formatting & Unit Tests in Pre-commit via
lintstaged
& husky
degit uchihamalolan/vite-react-ts your-app-name
- Vite
- React - Typscript
- pnpm
- vscode settings & extension recommendations
.editorconfig
file
- Eslint & Prettier Configured
- Lints
- react
- react hooks
- typescript
- jsx-a11y
- Jest + React Testing Library (plus some plugins)
Other Recommended Libraries:
- React Hook Form
- Zod (for validations)
- Emotion
- Complie Time Atomic CSS-in-Js
- Stylex (Facebook, not Open Source yet)
- Linaria
- Compiled (still in beta)
- React-Router-Dom
- React Location
Global Store (full-blown / lite-version)
- Redux Toolkit / Zustand
- Recoil / Jotai
- Mobx / Valtio
- xstate / robot