course content

Course Content

Introduction to Redux

Redux StoreRedux Store

The entire state of the application is stored in an object called Redux Store. We can create a Redux Store using the configureStore function imported from @reduxjs/toolkit:

In the configureStore function we pass an object containing at least one reducer. The store is a reference to the create store. We can access the object containing the state data using the getState method:

question-icon

Select the correct code for creating a Redux Store with a reducer called todoReducer.

Select the correct answer

Everything was clear?

Section 2. Chapter 3