https://github.com/sigfriedcub1990/vite-react-ts
Vite template with React + TS + Vitest
https://github.com/sigfriedcub1990/vite-react-ts
Last synced: 3 months ago
JSON representation
Vite template with React + TS + Vitest
- Host: GitHub
- URL: https://github.com/sigfriedcub1990/vite-react-ts
- Owner: sigfriedCub1990
- License: mit
- Created: 2023-11-12T10:40:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-17T15:57:24.000Z (11 months ago)
- Last Synced: 2025-01-15T01:43:04.394Z (4 months ago)
- Language: TypeScript
- Size: 400 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# Drop-in Replacement for [CRA](http://create-react-app.dev/) but powered by [Vite](https://vitejs.dev/)
### Things in CRA, supported here:
- Import SVG's directly as React Component via SVGR
- Unit Testing via Vitest & React Testing Library
- ESLint Rules & Prettier
- Tailwind
- Absolute imports within `src` directory---
### Extra Additions
- Conventional Commits using `Commitlint`
---
### Usage (with [degit](https://github.com/Rich-Harris/degit))
```bash
degit sigfriedcub1990/vite-react-ts your-app-name
```---
### Tech Stack - Overview
- Vite
- React - Typscript
- react-error-boundary
- npm---
### Editor Config
- vscode settings & extension recommendations
- `.editorconfig` file---
### Lint and Formatting
- Eslint & Prettier Configured
- Lints
- react
- react hooks
- typescript
- jsx-a11y---
### Testing
- Vitest + React Testing Library (plus some plugins)
---
### Styling
- TailwindCSS v3
---
# Other Recommended Libraries:
### Forms
- React Hook Form
- Zod (for validations)### CSS-in-js
- Emotion
- Complie Time Atomic CSS-in-Js
- Stylex (Facebook, not Open Source yet)
- Linaria
- Compiled (still in beta)### Routing
- React-Router-Dom
- React Location### Date Manipulation
- Dayjs
- date-fns
- Luxon### HTTP Client
- Ky
- Axios### Global Store (full-blown / lite-version)
- Redux Toolkit / Zustand
- Recoil / Jotai
- Mobx / Valtio
- xstate / robot### Server State
- React Query
- SWR
- RTKQuery