dragula: Invariant Violation when using React.js
When using dragula to drag and drop react element’s an error is throw because cloning elements will end up having two elements with same data-reactid attribute.
This is what the log says:
Uncaught Error: Invariant Violation: ReactMount: Two valid but unequal nodes with the same `data-reactid`: .0.0.0.1:$0.0.4.1.0.0.3.0
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (6 by maintainers)
FWIW everyone, made
react-dragula
so we can further tweakreact
-specificdragula
there. Of course, we would still need to expose primitives indragula
if they’re needed byreact-dragula
.https://github.com/bevacqua/react-dragula