From the course: Master React 19 and Next.js 16 with Hands-On Projects and Real-World Applications

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

How to setup React 19 with Vite

How to setup React 19 with Vite

In this video, I will show you how to create a React app using Vite and upgrade React and React DOM to their latest versions. Before we begin, ensure you have Node.js installed on your system. You can download it from nodejs.org if you don't have it yet. First, let's open the terminal and navigate to the desktop. Let's create a folder where we'll set up our React project and move into it. We're now ready to create our React app using Vite. To do that, let's run the following command. Choose React as the framework, and then pick either JavaScript or TypeScript as your language. In this course, I selected JavaScript. I suggest you do the same. Once the setup is complete, navigate into the new project folder using this command. Now install the dependencies. If you get any warnings, make sure you upgrade to a newer version of Node.js and NPM. At the time of this recording, the latest stable version of Node.js is 22.11.0. I strongly recommend you use the same version while taking this…

Contents