Simpler Store Configurations with configureStore
Get started with the createStore utility provided by the Redux toolkit. Learn how to simplify the creation of your Redux application store.
We'll cover the following...
The first RTK utility we’ll be looking at is configureStore
. So, what does this utility function do?
What is createStore?
In a nutshell, createStore
is to redux
as configureStore
is to RTK. configureStore
is an abstraction over createStore
. It is a superset, if you may.
Majorly, configureStore
adds sane defaults to the Redux store setup, so you don’t have to think about it. ...