pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

findDOMNode is deprecated and will be removed in the next major release.

Open yuzh0816 opened this issue 4 months ago • 11 comments

Reproduction link

https://github.com/yuzh0816/antd-test

Steps to reproduce

执行npm run dev后,打开控制台即可看到报错

What is expected?

希望这处报错被解决。

What is actually happening?

报错: Warning: findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference.

Environment Info
antd 5.21.1
React 18.3.1
System Windows Server 2022
Browser 所有浏览器

yuzh0816 avatar Sep 30 '24 07:09 yuzh0816