Can't use without importing react-dnd and requiring react as a peer dependency
See original GitHub issueHi,
This is some great code, and I’d like to make it work with a new front-end to dnd-core that I wrote for Angular. That project is at https://cormacrelf.github.io/angular-skyhook/ & https://github.com/cormacrelf/angular-skyhook/. Edit: it’s called angular-skyhook now.
Backends in react-dnd are not supposed to care about what code provides them with DOM elements to latch onto, and this is true of MultiBackend, except that some some react-specific helpers are bundled into the package. I wouldn’t expect that you rebuild those helpers for any other frontend – the preview component would have to be quite different, and it would mess up your build scripts enormously – but I would appreciate splitting the package into agnostic and react-specific parts. A major version bump would prevent accidental upgrades. The agnostic part should depend only on dnd-core.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)

Top Related StackOverflow Question
Great! I updated the documentation on the
nextbranch, it will get merged once I get feedback on some React bug fixes.Hi,
That’s a great idea! I will look into that soon. Depending on the difficulty, MultiBackend could provide helpers for other frontends (maybe based on pull-requests?).