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
Hi, I'm trying to dispatch an action in routesMap thunk, but I'm not sure how to do that since I can't run sagaMiddleware.run(sagas) until I have created a store. And I can't create a store without passing redux-first-router middleware. So I'm in a chicken and egg problem. I was able to get the thunk dispatch to work with a setTimeout dispatch, but that's not working out well as my component depends on the data fetched by routesMap thunk dispatch. Any advice?
Hi, I'm trying to dispatch an action in routesMap thunk, but I'm not sure how to do that since I can't run
sagaMiddleware.run(sagas)
until I have created a store. And I can't create a store without passing redux-first-router middleware. So I'm in a chicken and egg problem. I was able to get the thunk dispatch to work with a setTimeout dispatch, but that's not working out well as my component depends on the data fetched by routesMap thunk dispatch. Any advice?The text was updated successfully, but these errors were encountered: