From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

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

Setting up Redux project

Setting up Redux project

Hello and welcome back. For starting off with our counter example, we are first going to do the basic steps. The first steps include to create a project and in that project we are going to add the redex based dependencies. So let's get to work. The first thing is we need a project. So I'm going to do the command npx create-read at latest and we are going to give it a counter redex app. We'll select react and type script and our project has been created. We can do npm install, oops, we have to go to that directory first. And inside that directory, we have to do npm install. It's going to take a while. Alright, we can clear the rest and we can do code space dot to open this code inside Now, we need to do a few cleanup activities. We can delete this app.css file. We are not going to need it. Then inside the app.tsx, we can get rid of this code. We are not going to need that default code anymore. Now the next step is going to be to have Redux and Tailwind installed in our application. So…

Contents