Accessing and Changing the Store
Learn how to access and change the store.
We'll cover the following...
Accessing the state
The getState()
method returns the reference to the current state:
store.getState();
// => { recipes: [], ingredients: [] }
Changing the state
Redux does ...