Skip to content
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

Do not pass down internal props #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keepitterron
Copy link

Currently, dragDropManager is passed down to the WrappedComponent which is usually a DOM element.
Do not pass it down anymore.

https://www.useloom.com/share/06b2f2a11b0e4b9193c0fb3b39e7f677

Currently, `dragDropManager` is passed down to the `WrappedComponent` which is usually a DOM element.
Do not pass it down anymore.
@keepitterron
Copy link
Author

@wuweiweiwu ping :)

@ndbroadbent
Copy link

Hi @keepitterron, thanks a lot for the fix and for posting the screencast video! I was also trying to figure out how to fix that dragDropManager warning.

I was wondering if you are still using react-dnd-scrollzone, and if you might have updated it for react-dnd version 9? I'm trying to get it working with the latest react-dnd. Maybe we can work together to help maintain a fork?

@ndbroadbent
Copy link

Actually I just saw the PR from ZenHubHQ, to support react-dnd 8: #10

That seems to fix a lot of the warnings I was seeing, and uses the new DndContext.Consumer. So I think this will work for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants