https://github.com/CodingGarden/react-ts-starter
A bare-bones vite + react + typescript starter template with eslint + prettier, vitest + @testing-library and react-router
https://github.com/CodingGarden/react-ts-starter
Last synced: 4 months ago
JSON representation
A bare-bones vite + react + typescript starter template with eslint + prettier, vitest + @testing-library and react-router
- Host: GitHub
- URL: https://github.com/CodingGarden/react-ts-starter
- Owner: CodingGarden
- License: mit
- Created: 2022-08-31T23:09:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T20:54:32.000Z (10 months ago)
- Last Synced: 2024-08-13T07:17:17.467Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 262 KB
- Stars: 201
- Watchers: 6
- Forks: 73
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - CodingGarden/react-ts-starter - A bare-bones vite + react + typescript starter template with eslint + prettier, vitest + @testing-library and react-router (TypeScript)
README
## [vite](https://vitejs.dev/) + [React](https://reactjs.org/) + [TypeScript](https://www.typescriptlang.org/) Starter
This setup includes:
* [vite](https://vitejs.dev/)
* [eslint](https://eslint.org/), [typescript-eslint](https://typescript-eslint.io/), [eslint-airbnb-config](https://github.com/airbnb/javascript), [prettier](https://prettier.io/)
* [vitest](https://vitest.dev/), [jsdom](https://github.com/jsdom/jsdom), [@testing-library](https://testing-library.com/)
* [react-router v6](https://reactrouter.com/en/main)# References
* https://markus.oberlehner.net/blog/using-testing-library-jest-dom-with-vitest/
* https://testing-library.com/docs/queries/about#priority
* https://kentcdodds.com/blog/common-mistakes-with-react-testing-library