Bug
No warnings when using react-beautiful-dnd with React.StrictMode.
Warnings show up when using react-beautiful-dnd with React.StrictMode.
<App /> component in <React.StrictMode> (or go straight to the following fork: https://codesandbox.io/s/3xy8342pzp)Warning: Unsafe lifecycle methods were found within a strict-mode tree:
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: Connect(Draggable), Connect(Droppable)
componentWillUpdate: Please update the following components to use componentDidUpdate instead: Connect(Draggable), Connect(Droppable)
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
Warning: Legacy context API has been detected within a strict-mode tree:
in StrictMode
Please update the following components: Connect(Draggable), Connect(Droppable), DragDropContext, DragHandle, Draggable, DraggableDimensionPublisher, Droppable, DroppableDimensionPublisher
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
React are you using?16.7.0
react-beautiful-dnd are you running?10.0.3
Chrome 71.0.3578.98
https://l5o4y8xoxq.codesandbox.io/
PS: thanks for the great work on this repo 馃憤
Thanks! We are currently using an older version of react-redux that uses the deprecated methods. To upgrade will be a breaking change as our react peer dependency version will change #984
We will need to do this soon
Most helpful comment
Thanks! We are currently using an older version of react-redux that uses the deprecated methods. To upgrade will be a breaking change as our react peer dependency version will change #984
We will need to do this soon