0

When Reducer update state and I get state from store it returns a promise. Inside promise in values I have my data How can I access this value in promise. enter image description here

enter image description here

Dima Kozhevin
  • 3,602
  • 9
  • 39
  • 52

1 Answers1

1

To use async actions with Redux, you are going to want to use a middleware, mostly either redux-thunk or redux-saga. See Why do we need middleware for async flow in Redux?

As a beginner at Redux you should probably start with the official documentation on the topic.

Marcell Toth
  • 3,433
  • 1
  • 21
  • 36