You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting a TypeError: React.createContext is not a function when trying to add DragDropContext to component. I am using React v15.6.1 and I am wondering if it's required to use React v16 to use react-dnd since Context introduced in React v16.
Here is my component where I am trying to add DragDropContext.
Thanks @Mangaraju-Velpula. I forgot to check the changelog. Now it's clear. Is there any separate documentation for version 3.0.2 or the current documentation is okay with version 3.0.2?
I am getting a TypeError: React.createContext is not a function when trying to add DragDropContext to component. I am using React v15.6.1 and I am wondering if it's required to use React v16 to use react-dnd since Context introduced in React v16.
Here is my component where I am trying to add DragDropContext.
<TextItem/>
is the component which I want to make Draggable and<FormSpace/>
is Droppable component.This happens if I just import DragDropContext from react-dnd.
The text was updated successfully, but these errors were encountered: