Sign in Go Pro

React Native with Redux

Reading State in an Action via a Redux Thunk

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



The Redux state can be accessed in a thunk by using the second argument to thunks: getState. getState can then be called to read any value from the redux store.

Summary of Content:

  • Call getState in a thunk to read from the Redux store
  • Use data from the store to submit only one request at a time to the HTTP server




There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in React Native with Redux