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
I've been removing findDomNode from my codebase because of this post by Dan Abramov, and while it does seem like using RootRef works fine, is that just using findDomNode behind the scenes like the example it is based on does?
@Odinsama Yes it's. The React team has recently deprecated the usage of findDOMNode in the strict mode. Check out the linked issue to keep up to date with our progress.
Expected Behavior
Table components (Table, TableBody, TableRow, etc.) should provide
innerRef
prop exposing the HTMLElement.Current Behavior
Currently it exposes a ref to a wrapper ReactComponent instead of to the real HTMLElement.
Examples
Context
Trying to make draggable table rows by using
react-beautiful-dnd
.The text was updated successfully, but these errors were encountered: