react-router-redux
react-router-redux copied to clipboard
Reload browser, action"@@router/LOCATION_CHANGE" will make some states gone. (SSR)
Hello, I begin to SSR based on davezuko/react-redux-starter-kit boilerplate.
everything goes ok but, when I reload the browser, some states at the initial store are gone. here is the situation:


as the picture above , the "invention_works" state was preloaded at server side. The page was normal at first, but immediately data gone.
BTW, the router's path is "/invention/works", and the reducer "invention_works" is injected by
export const injectReducer = (store, { key, reducer }) => {
if (Object.hasOwnProperty.call(store.asyncReducers, key)) return
store.asyncReducers[key] = reducer
store.replaceReducer(makeRootReducer(store.asyncReducers))
}
Does it matter?
I would appreciate it very much if somebody help me.
This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!