freeCodeCamp Challenge Guide: Get State from the Redux Store

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();
3 Likes