August 2017
Beginner
374 pages
10h 41m
English
In the Redux world, you can extend the functionality of the store via store enhancers. A store enhancer is a function that gets passed as the last argument to createStore. Let's take a look at the function signature:
createStore(reducer, [initialState], [enhancer])
The createStore function takes the following arguments:
We will pass the DevTools.instrument() store enhancer as the third argument.
Let's load the store enhancer when creating our Redux store:
Read now
Unlock full access