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.

Real-world analogy: Key concepts

Real-world analogy: Key concepts

Welcome back, let's deeply understand what Redux Toolkit library offers and what are the key terminologies we have to learn. So we are going to understand the key concepts of Redux Toolkit, how it's differentiated from Redux as well as for each key concept we are going to describe a real-world analogy So, we can understand it better. The first terminology which is common in both Redux and Redux toolkit is store. You can think of a store like a company's filing system where all the records of all the departments and employees are going to go inside. So, store is a central place which is going to hold down all the information. In our case, this information is basically different pieces of states. Slice Now, you can think of slice as a state value in our application. So basically store is going to hold off different slices of information which are state in our react application world. You can think of it as a one single department, either HR, sales, finance, etc. That can manage its own…

Contents