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
Hello,
I tried to do a code splitting on route change.
When the route changes to '/register', i dynamically add "registration" as one of the root state using replaceReducer and it work just fine.
Once the registration completed i want to remove the reducer using replaceReducer again, but instead it return the following error :
Unexpected key "registration" found in initialState argument passed to createStore. Expected to find one of the known reducer keys instead: ... Unexpected keys will be ignored.
Thanks in advance
The text was updated successfully, but these errors were encountered:
I think you should file this in Redux proper, not React Redux. This is probably a bug but I’m not sure if there is a good fix for this other than disabling the warning altogether.
Hello,
I tried to do a code splitting on route change.
When the route changes to '/register', i dynamically add "registration" as one of the root state using replaceReducer and it work just fine.
Once the registration completed i want to remove the reducer using replaceReducer again, but instead it return the following error :
Thanks in advance
The text was updated successfully, but these errors were encountered: