-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invariant Violation: Expected targetIds to be registered #3224
Comments
Related discussion (marked as stale) #763 |
Just wanted to mention that I get this error with a stripped-down example from DnD itself, on a NextJS app. https://react-dnd.github.io/react-dnd/examples/sortable/simple |
I'm also having this issue with a fairly simple Next.js app. Dragging after a hot reload throws the error. |
This seems to be fixed in v14.0.4 🎉 |
megawebmaster
added a commit
to megawebmaster/react-dnd
that referenced
this issue
Dec 20, 2021
This commit backports fix for 14.0.4 that disconnects source, target and preview connectors on component unmount.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using create-react-app, every time a hot reload occurs an invariant exception is thrown.
Reproduction
Live Reproduction
Steps to reproduce the behavior:
Expected behavior
No error thrown, somehow handle hot-reloading properly.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: