https://github.com/botshen/react_ts_template
https://github.com/botshen/react_ts_template
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/botshen/react_ts_template
- Owner: botshen
- License: mit
- Created: 2022-07-14T11:36:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T11:36:48.000Z (almost 4 years ago)
- Last Synced: 2025-07-16T13:09:40.659Z (12 months ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
- Security: SECURITY.md
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 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`
---
### Usage (with [degit](https://github.com/Rich-Harris/degit))
```bash
degit uchihamalolan/vite-react-ts your-app-name
```
---
### Tech Stack - Overview
- Vite
- React - Typscript
- react-error-boundary
- pnpm
---
### Editor Config
- vscode settings & extension recommendations
- `.editorconfig` file
---
### Lint and Formatting
- Eslint & Prettier Configured
- Lints
- react
- react hooks
- typescript
- jsx-a11y
---
### Testing
- Jest + 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