What happened?
I get DOM unmount error after updating React component files with Vite HMR
Context:
"@vitejs/plugin-react-swc": "^3.6.0",
"vite": "^5.1.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@reatom/npm-react": "^3.8.6",
Reproduction:
console.log
somewherereatomAsync
and see the error in the console.The error can be fixed by refreshing the page. So this is not a critical bug, but rather an annoying behavior
Package @reatom/npm-react
3.8.6
No response
Uncaught (in promise) DOMException: SomeComponent unmount
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too