Creating the Store

Learn to create a Redux store.

We'll cover the following...

Creating a function to create Redux store

The final task in Store.ts is to create a function that creates the Redux store so that it can be provided to the React components. We need to feed all the store reducers into this function as well. Let’s do this by performing the following steps:

  1. First, let’s import the Store type and the createStore and combineReducers functions from Redux:

Access this course and 1400+ top-rated courses and projects.