Hey guys, I am trying to implement http://gaearon.github.io/react-dnd/ with some Meteor React components but I am getting an error saying that Error: Error: Invariant Violation: Could not find the drag and drop manager in the context of DropTarget(Component). Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context
I have an ItemList which has ItemRow inside of it and I'm calling ItemList = ReactDnD.DragDropContext(ReactDnD.HTML5)(DropList); but that is not the top level component (looking at the React console debugger).
Hey guys, I am trying to implement http://gaearon.github.io/react-dnd/ with some Meteor React components but I am getting an error saying that
Error: Error: Invariant Violation: Could not find the drag and drop manager in the context of DropTarget(Component). Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context
I have an
ItemList
which hasItemRow
inside of it and I'm callingItemList = ReactDnD.DragDropContext(ReactDnD.HTML5)(DropList);
but that is not the top level component (looking at the React console debugger).Is there a way to get to the Top Level Component?