This project provides a minimal setup for building React applications using Vite, featuring Hot Module Replacement (HMR) and ESLint rules to ensure code quality.
This project is designed to get React up and running with Vite's fast build performance and HMR support. Vite improves the development experience by speeding up the time it takes to start and compile React applications.
- Fast Refresh: Instant updates on save without losing React component state.
- Minimal Setup: Just the essential configurations for a smooth development experience.
- ESLint Support: Includes some basic ESLint rules to ensure consistent code style.
Currently, two official plugins are included for handling Fast Refresh:
-
- Uses Babel for Fast Refresh.
- Provides complete support for React, JSX, and new React 17+ JSX transforms.
-
- Uses SWC for Fast Refresh.
- A much faster alternative to Babel that offers the same features with better performance.
To start working with this project, you can clone the repository and install the dependencies:
git clone https://github.com/your-username/react-vite-project.git
cd react-vite-project
npm install
npm run dev
You can view the deployed version of this project at: https://technovate.nxtdev.in/