Conteúdo do Curso
Redux Toolkit & React
Redux Toolkit & React
Installation of Redux Toolkit
1. Create a React Project
If you don't have a React project yet, create one using Create React App. Open your terminal and run:
2. Installing Redux Toolkit
Navigate to your project directory and install Redux Toolkit:
3. Installing Additional Dependencies
Redux Toolkit may require additional dependencies like react-redux
. This way, we can use Redux in React. Install them using:
Once you have completed all the instructions, make sure to check that your package.json
file includes the dependencies listed below:
Your project structure is supposed to look like the following:
Obrigado pelo seu feedback!