ctrlplusb/react-async-component

HMR works Once then "is not accepted"

bradennapier opened this issue · 0 comments

Hey man,
So I am having an issue that is killing me. I am not sure if its related to async component or what - i know there are generally issues with react-router and HMR and adding the async is just the cherry on top :-P

Anyway I see you've dealt with literally every issue I am running into so I gotta ask!

On my first update of an async route it does update but I get a warning:

main.js:107 [HMR] unexpected require(./ui/screens/Home/Home.js) from disposed module ./ui/routes.js

then on the next update it fails saying the given path is not accepted.

Any ideas in general? I can provide more information of course but I am pretty sure I'm just doing whatever you were when you had the issues.