react-dnd / react-dnd-html5-backend

HTML5 backend for React DnD [Legacy Repo]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delegate to existing backend instead of throwing new Error('Cannot have two HTML5 backends at the same time.');

nomcopter opened this issue · comments

I have an app that uses the HTML5 backend for drop and drop internally. I want to use a sub-component that also uses it independently, but in the same app. Currently this is only possible if I can actually make changes to this sub-component to remove it's DragContext or export one without which seems unnecessary.

Is someone working on this? I would like to use React-Big-Calendar with drag and drop support and my own drag and drop component, but I can´t make it work, because of this :/ unless I remove backend from react big calendar, but that is not a good solution...

@martinnov92 did you found the solution ?

@sudhiryadav Nope :/, I created pull request to React Big Calendar to export it without React DnD context. It has been approved and now waiting for merge...