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
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
When using the latest version of React (16.7.0), I get additional warnings about the Legacy API (same code change as in step 3 but with I additionally update to React & ReactDOM 16.7.0 - or via this fork: https://l5o4y8xoxq.codesandbox.io/):
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
What version of React are you using?
16.7.0
What version of react-beautiful-dnd are you running?
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
Bug or feature request?
Bug
Expected behavior
No warnings when using
react-beautiful-dnd
withReact.StrictMode
.Actual behavior
Warnings show up when using
react-beautiful-dnd
withReact.StrictMode
.Steps to reproduce
<App />
component in<React.StrictMode>
(or go straight to the following fork: https://codesandbox.io/s/3xy8342pzp)What version of
React
are you using?16.7.0
What version of
react-beautiful-dnd
are you running?10.0.3
What browser are you using?
Chrome 71.0.3578.98
Demo
https://l5o4y8xoxq.codesandbox.io/
PS: thanks for the great work on this repo 👍
The text was updated successfully, but these errors were encountered: