These are the tools and libraries I reach for when creating a new frontend React project.
To use this template, follow the steps below to create a new repository.
Feedback and pull requests to the template are also welcomed.
- Vite v4
- React v18
- React Testing Library v4
- React Query Library v4 (using Mock Service Worker to test React Query hooks)
- Styled Components v5
- Pre-commit lint and test hooks
The project uses Yarn 3. You can remove unwanted packages with yarn remove.
Follow steps for creating a new repository from this template.
Clone the new repository:
git clone git@github.com:yourName/whatcha-gonna-call-it.gitInstall:
cd whatcha-gonna-call-it
yarn installRun locally:
yarn devRuns tests with Jest, RTL, and MSW support.
yarn testCreate a production build to dist/ and preview:
yarn previewForked from TheSwordBreaker/vite-reactts-eslint-prettier
