StephenChou1017 / react-big-scheduler

A scheduler and resource planning component built for React and made for modern browsers (IE10+)
https://stephenchou1017.github.io/scheduler/#/
MIT License
754 stars 414 forks source link

react_dnd_1.DragDropContext is not a function #147

Open Dhaval8087 opened 5 years ago

Dhaval8087 commented 5 years ago

I am using the latest version of react-big-schedular and I got the error like react_dnd_1.DragDropContext is not a function

Please check the stackblitz https://stackblitz.com/edit/react-mcd6n5?file=Hello.js

jerry84 commented 5 years ago

This is due to DragDropContext is deprecated and removed since version 9.0.0 in react-dnd Also I don't think react-big-scheduler support the latest version of react-dnd

You can see the release notes here: https://github.com/react-dnd/react-dnd/releases/tag/v9.0.0