Open ronaldborman opened 5 years ago
It seems to work on my laptop. However, maybe we have different platforms? I have tested this on a Mac only. Do you happen to remember if you were on a Windows machine?
Hmmm I've seen it fail and succeed on Windows... I've gotten to work on Windows again just now with an updated react-hot-loader@4.9.0. Can you give this another shot, @ronaldborman ?
@kenotron I should have mentioned that I was on Windows 10 beforehand... I've just created a new Gatsby site and upgraded react-hot-loader to version 4.9.0 (and checked node-modules to be certain). Unfortunately, the problem is still there. When I downgrade to version 4.6.3, to problem disappears again.
@kenotron it would be a great help, if you can provide some update on this issue.
If I make a simple textual change to index.tsx (of a freshly generated site without modifications) and HMR kicks in, the following error appears:
The problem seems the same as https://github.com/OfficeDev/office-ui-fabric-react/issues/9097. When I apply the workaround mentioned there (downgrading react-hot-loader to 4.6.3) the problem disappears.