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
Asked
Active
Viewed 248 times
1 Answers
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