A template for setting up React with TypeScript, Vite, and HMR. It includes ESLint rules and two React plugins: @vitejs/plugin-react and @vitejs/plugin-react-swc. The React Compiler is not enabled by default due to performance concerns.
From the README
React + TypeScript + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: • @vitejs/plugin-react uses Oxc • @vitejs/plugin-react-swc uses SWC React Compiler The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation. Expanding the ESLint configuration If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
Skills
- TypeScript
- CSS
- JavaScript
- HTML