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

🐛 [BUG] findDOMNode is deprecated in StrictMode. #10527

Closed
guaijie opened this issue Feb 2, 2023 · 2 comments
Closed

🐛 [BUG] findDOMNode is deprecated in StrictMode. #10527

guaijie opened this issue Feb 2, 2023 · 2 comments

Comments

@guaijie
Copy link

guaijie commented Feb 2, 2023

🐛 bug 描述

findDOMNode is deprecated in StrictMode.

📷 复现步骤 | Recurrence steps

在严格模式下使用 ant-design-pro 会出现 warning: findDOMNode is deprecated in StrictMode.

🏞 期望结果 | Expected results

react 可能在某个版本的严格模式下正式移除 findDOMNode, 如果可以的话使用 ref 代替

💻 复现代码 | Recurrence code

image

© 版本信息

  • Ant Design Pro 版本: latest
  • umi 版本
  • 浏览器环境
  • 开发环境 : every

🚑 其他信息

@guaijie guaijie closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2023
@yasz
Copy link

yasz commented Nov 21, 2023

相同故障。。。

@noahge
Copy link

noahge commented Dec 6, 2023

单独使用ProTable就会报错,怎么解决有人有方案吗?

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