forensic-architecture / timemap

Exploration, monitoring and classification of incidents in time and space.
Other
348 stars 58 forks source link

fix: downgrade react-error-overlay to `6.0.9` to fix HMR #241

Closed fspoettel closed 2 years ago

fspoettel commented 2 years ago

When working on the map, I noticed that hot module reloads are broken, resulting in the following error on each code change:

image

After that, the UI becomes unresponsive and I have to F5 the page.

I investigated it a bit and the root cause is a regression in a react-dev-utils component - see https://github.com/facebook/create-react-app/issues/11771 . Since we are using a lockfile, I downgraded to the previous patch version and HMR is working again.

breezykermo commented 2 years ago

Fantastic, thank you - I noted this this morning and had scheduled some time in my calendar this afternoon to debug it. So very much appreciated!