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
The issue has appeared after I migrated the project to the latest React version (16.3.2). I'm using react-grid-layout which has react-resizable as a dependency. react-resizable itself has react-draggable as a dependency of version ^2.2.6 || ^3.0.3. When I make a production build, react-resizable uses react-draggable@2.2.6 which uses (I'm not sure why, because it's not set as a direct dependency) react-dom@15.x. The project starts crashing with findDOMNode was called on an unmounted component. all the time when DraggableCore's componentWillUnmount hook is called. We use yarn in the project.
Uh oh!
There was an error while loading. Please reload this page.
Problem Report
The issue has appeared after I migrated the project to the latest React version (16.3.2). I'm using
react-grid-layout
which hasreact-resizable
as a dependency.react-resizable
itself hasreact-draggable
as a dependency of version^2.2.6 || ^3.0.3
. When I make a production build,react-resizable
usesreact-draggable@2.2.6
which uses (I'm not sure why, because it's not set as a directdependency
)react-dom@15.x
. The project starts crashing withfindDOMNode was called on an unmounted component.
all the time whenDraggableCore
'scomponentWillUnmount
hook is called. We useyarn
in the project.System Info
Node Version: 8.11.1
Browser: Chrome 65
OS: macOS 10.12.6
Possible solution
I'm not 100% sure, but can we set
react-draggable
dependency to"react-draggable": " ^3.0.3"
only?The text was updated successfully, but these errors were encountered: