Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: findDOMNode is deprecated and will be removed in the next major release #558

Open
leftstick opened this issue Jun 28, 2024 · 3 comments

Comments

@leftstick
Copy link

This API will be deprecated: https://react.dev/reference/react-dom/findDOMNode#alternatives

Screenshot 2024-06-28 at 12 26 12

Code: https://github.com/react-component/util/blob/master/src/Dom/findDOMNode.ts#L37

Please consider removing the above warning by proposed solution

@leftstick
Copy link
Author

any update?

@luqimin
Copy link

luqimin commented Jul 18, 2024

TypeError: import_react_dom2.default.findDOMNode is not a function

This breaks React v19

@hotzenklotz
Copy link

hotzenklotz commented Sep 4, 2024

Any news? This is still used in the latest version (1.4.0) of rc-component/resize-observer which used all over the place in antd.

See also react-component/resize-observer#208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants