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 Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
In my second React project, I mastered controlled components for user input in forms, delved into the useState hook's interaction with arrays/objects for efficient state management, and learned to iterate through data using the map callback function.
JavaScript
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available: