Closed aga5tya closed 7 years ago
It typically has to do with the organization. For example what file the Redux provider is in. What file the React hot loader container is in.
I can't quite tell from this cuz I see no module.hot.accept. But id try re-arranging things a few different ways until it works. Also try simplifying things until it works. Isolate potential bottlenecks until it works and u will find what the HMR system doesn't like.
@faceyspacey It was indeed the case, when i moved componentsMap variable to be part of App.js the hot reload works fine, guess the connected parent has to be aware of all imports. Thank you!, closing this.
I have picked up the core pieces from the boilerplate, but for some reason module.accept doesn't seem to pick up the call and always reloads with this error
This might be because of the way the app is structured, I have extracted the specific bits out and below are the samples
Entry is same as that in the boilerplate redux-first-router-demo/src/index.js