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
There are enhancers that depend on a reducer that adds to the state. I tried adding the Redux-first-router enhancer, but it throws an error that the state hasn't been set, because it's dependent on the Redux-first-router reducer.
The problem seems to be that redux-dynamic-modules adds the enhancer before adding the first/startup module. I'd like to be able to pass a reducer to the internal createStore with the RFR enhancer.
Is there a way to accomplish this?
Thanks.
The text was updated successfully, but these errors were encountered:
Hey @navneet-g. I'm already passing some initial state and it fails, because it expects certain state from Redux First Router, e.g. the location/page I'm on, the query string etc. I can't fill some dummy values into the location state because that would make RFR think I'm on a wrong page.
There are enhancers that depend on a reducer that adds to the state. I tried adding the
Redux-first-router
enhancer, but it throws an error that the state hasn't been set, because it's dependent on theRedux-first-router
reducer.The problem seems to be that
redux-dynamic-modules
adds the enhancer before adding the first/startup module. I'd like to be able to pass a reducer to the internalcreateStore
with the RFR enhancer.Is there a way to accomplish this?
Thanks.
The text was updated successfully, but these errors were encountered: