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
When dragging a component, I noticed that the component being dragged executes the componentWillMount method upon drag start. I believe that this would be a bug. The component shouldn't have to remount just to be dragged.
In my case, I have a component that does some heavy processing upon being mounted, therefore, when I try to sort components, there is some huge lag between pressing and dragging the selected component.
The text was updated successfully, but these errors were encountered:
Move code with side effects to componentDidMount, and set initial state in the constructor.
Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.
Please update the following components: SortableListView
When dragging a component, I noticed that the component being dragged executes the
componentWillMount
method upon drag start. I believe that this would be a bug. The component shouldn't have to remount just to be dragged.In my case, I have a component that does some heavy processing upon being mounted, therefore, when I try to sort components, there is some huge lag between pressing and dragging the selected component.
The text was updated successfully, but these errors were encountered: