[Live Preview](https://cra-app-18.vercel.app/)
A modern React JS project setup using Vite for a faster and leaner development experience.
The new and recommended way to create React applications is by using Vite:
npm create vite@latest
Refer to the Vite documentation for more information.
npx create-react-app my-app
cd my-app
npm start
If you have an existing Create React App project, here's how to migrate to Vite:
Step One: Setting the Stage with Vite Installation
Install Vite and React-related libraries as development dependencies:
npm install vite @vitejs/plugin-react --save-dev
npm uninstall react-scripts
Step Two: Updating package.json for Vite Commands
Modify the "scripts" section of your package.json file:
"scripts": {
"start": "vite",
"build": "vite build",
"serve": "vite preview"
}
Step Three: Renaming File Extensions
Rename your file extensions .js or .ts to .jsx or .tsx.
Refer to this guide for more detailed instructions: How to Migrate Create React App to Vite
This project utilizes React JS version 18 along with other modern tools and libraries.
Core Technologies:
- React JS (18.0.2 version)
- Bulma CSS (0.9.4 version)
- React Router DOM (Version 6)
- Axios
- Fetch API
- React-i18next
- i18next
- Redux Toolkit
Install the necessary packages using npm:
npm install bulma
npm install axios
npm install react-router-dom
npm install i18next
npm install react-i18next
npm install @reduxjs/toolkit
npm install react-redux
Free and open-source icons are used in this project.
The following APIs are used for demonstration purposes:
This project contains a collection of small React projects:
- Password Generator
- Pagination
- Counter
- LoginPageWithDefault
- Random Color Generator
- Shop
- Coin Exchange
- Date Picker
- Date Picker Max
- Form Validation
- Search
- Select
- Random Quotes
- Age Validation
- Leap Year Checker
- LoginPageWithAPI
- Currency Converter
- Data Fetch
- Github API
- Typeahead
- Tip Calculator
- LightToDarkMode
- Country Detail
- Year Calculator
- Toggle Password Visibility
- Populate Data in table
- Testimonial Slider
- OTP Checker