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
Error in bindConnectorMethod #261
Comments
I've got the same Issue in my Project. I worked around it by using the shallowEqual Library instead of the shallowEqual in reactDnD. @gaearon any reason to shallowEqual instead of shallowEqualScalar (or the shallowEqual npm module) |
I'd appreciate a runnable example reproducing this. |
For me your latest change (1.1.6) fixed this. |
Interesting. I'll close for now; please reopen if you have a reproducible example. |
Okay, this is still an Issue. Any reason you're using your own instead of the npm package? |
|
Should be fixed in 2.0.1. |
Actually you should use 2.0.2, it includes a more correct fix. |
Thanks, looks fixed to me. (Although I just quickly checked, I will tell you if I encounter this again) |
I'm getting this error in shallowEqual from bindConnectorMethod where it expects
currentOptions
to be an object, but it'sundefined
.It doesn't appear to impair functionality (dragging is a bit glitchy but maybe unrelated), and only happens when inserting a new item.
Any tips on how to narrow it down to a repro case?
I'd like to add a better error message once I figure it out, assuming it's not an actual bug.
Full stack trace.
Edit:
Caused by this diff: https://gist.github.com/brigand/facd66d909216e6df714
Backend: HTML5Backend
The text was updated successfully, but these errors were encountered: