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 [email protected]:yourName/whatcha-gonna-call-it.git
Install:
cd whatcha-gonna-call-it
yarn install
Run locally:
yarn dev
Runs tests with Jest, RTL, and MSW support.
yarn test
Create a production build to dist/
and preview:
yarn preview
Forked from TheSwordBreaker/vite-reactts-eslint-prettier