(旧项目)我一开始用的react:18.3.0, antd:5.21.1, ant-design/pro-components:2.7.19
(1)antd更新日志关于修复这个问题的最新一版是在2024/05/19的5.17.3版本(查询于2025/09/12)
而且也是部分修复
antd更新日志:https://ant-design.antgroup.com/changelog-cn

(2)在 ProComponents 更新日志中,暂时没有看到有关 findDOMNode 修复的内容(可能我漏看)
antd pro components更新日志:https://procomponents.ant.design/changelog
(3)最终解决办法:查了很多帖子,都是把严格模式去掉,但我不想去掉(捂脸)。所以选择了把react:18.3.0降低到react:18.2.0去解决这个问题
查的帖子:
- 在使用React 18.3.0 或者React 19 Beta版本时, Menu组件都会报findDOMNode is deprecated and will be removed错误:https://github.com/ant-design/ant-design/issues/48646
- 使用ProTable控制台的警告怎么去掉啊!!!!看着膈应人:https://github.com/ant-design/pro-components/issues/8641
- findDOMNode is deprecated in StrictMode.:https://github.com/ant-design/pro-components/issues/6556
- Ant Design Pro 6.0 报警告 Warning: findDOMNode is deprecated and will be removed in the next major release. :https://github.com/ant-design/ant-design-pro/issues/11226
(4)出现这个问题的原因,可以看以下两个帖子
- 官方的:https://18.react.dev/reference/react-dom/findDOMNode
- React开发揭秘:揭秘findDOMNode消失之谜,告别找节点烦恼!:https://www.oryoy.com/news/react-kai-fa-jie-mi-jie-mi-finddomnode-xiao-shi-zhi-mi-gao-bie-zhao-jie-dian-fan-nao.html