Troubleshooting have problem
import SortableTree from 'react-sortable-tree';

Same error for 2.6.0 version
The problem is with the React version.
There is a code snippet inside of React-dnd .
(DragDropContext.Consumer, null, null), the value of DragDropContext.Consumer is undefined.
The Consumer object is created with the React.createContext () function.
Your React version may not have this function.
2.6.1 too
Is anyone going to fix it? I have this error with fresh version of react(16.7.0)
Hello, also got this error with [email protected] and [email protected]
Downgrading from [email protected] to [email protected] seems to work with [email protected]
Can you provide some example?
up