Answer the question
In order to leave comments, you need to log in
Why is redux-thunk not working correctly (react-native)?
Hello! Who can tell what is the reason ... There is an asynchronous request in thunk. Naturally, before this request there is something like , and after the request it will be dispatched with false. The components have a spinner / loader, the display of which depends on the state, which is changed by the pendingAction from the sled. Actually a question. Everything works fine in debug mode. But when I build the apk using gradlew assemble (it doesn't matter if it's assembleRelease or assembleDebug), the spinner is not displayed all the time of the asynchronous request. That is, the loading screen is no longer displayed, but the request has not yet been completed and the data has not arrived. I emphasize that in debug mode everything is fine ... dispatch(pendingAction(true, funcName));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question