You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am doing an asynchronous operation through the redux thunk in the LoginAction and calling reducer . Then I want to call Navigator in submitLoginForm for page jumps. However, because dispatch seems to be unable to return a promise, the logic is unreasonable. Unless the Navigator is placed in the redux thunk. I have seen the simple-navigation-example example . But I think the logic of route jumps should sometimes not be included in redux.
I am doing an asynchronous operation through the redux thunk in the
LoginAction
and calling reducer . Then I want to callNavigator
insubmitLoginForm
for page jumps. However, because dispatch seems to be unable to return a promise, the logic is unreasonable. Unless theNavigator
is placed in theredux thunk
. I have seen the simple-navigation-example example . But I think the logic of route jumps should sometimes not be included inredux
.The text was updated successfully, but these errors were encountered: