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
It seems that maybe the latest version of react-hot-loader has some compatibility challenges.
Setting up a simple case using an ejected CRA project with react-hot-loader patched in (as per the docs from that project), and a structure that looks like this:
|- App (hot(module)(App) exported, imports Test1/Test1)
|- Test1
| |- Test1 (async export)
| |- RealTest1 (the actual component)
This works on initial render, however any changes to RealTest1 after the initial render result in the hot-reloaded async component only showing "Loading..." with no errors. It seems that perhaps the promise isn't resolving any more..?
I've had an initial poke around in the code, but haven't been able to turn up any leads as to why yet (guessing it might be promise related, or to do with the HMR chunk name from webpack?)
The text was updated successfully, but these errors were encountered:
It seems that maybe the latest version of
react-hot-loader
has some compatibility challenges.Setting up a simple case using an ejected CRA project with
react-hot-loader
patched in (as per the docs from that project), and a structure that looks like this:The
Test1
loader code is pretty simple:This works on initial render, however any changes to
RealTest1
after the initial render result in the hot-reloaded async component only showing "Loading..." with no errors. It seems that perhaps the promise isn't resolving any more..?I've had an initial poke around in the code, but haven't been able to turn up any leads as to why yet (guessing it might be promise related, or to do with the HMR chunk name from webpack?)
The text was updated successfully, but these errors were encountered: