Get State from the Redux Store
Problem Explanation
Retrieve data from store by using getState()
method.
Solutions
Solution 1 (Click to Show/Hide)
let currentState = store.getState();
Retrieve data from store by using getState()
method.
let currentState = store.getState();