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
Built a dynamic React project that fetches random dog images from an API. Users can click "Generate Dogs" to load a new dog image. Error handling included.
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: