Course Content
State Management with Redux Toolkit in React
State Management with Redux Toolkit in React
2. Applying Redux Toolkit in React
What AwaitsUnderstanding the Project Code and File StructureCreating the Redux StoreIntegrating the Redux Store Into the React AppInspecting the Store in the React AppUnderstanding Actions and Action CreatorsUnderstanding the Role of ReducersInspecting Actions and Reducers in ReduxConnecting Redux with React ComponentsCompleting the App
Installing 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:
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 4