To get data from Redux store, we use the useSelector hook from the react-redux package . The useSelector hook takes a function (selector). This function gets the entire Redux store state as a parameter and its job is to return only the state needed. For this case we only need the diet state.1 Eki 2020