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] 运行报错 Warning: findDOMNode is deprecated and will be removed in the next major release. #11427

Open
miguao opened this issue Jan 20, 2025 · 0 comments

Comments

@miguao
Copy link

miguao commented Jan 20, 2025

🐛 AntDesignPro报错

hook.js:608 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. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node Error Component Stack
at span ()
at li ()
at ul ()
at div ()
at div ()
at aside ()
at div ()
at Layout ()
at div ()
at window.$RefreshReg$ (Layout.tsx:73:20)
at Suspense ()
at Provider (runtime.tsx:11:28)
at InitialStateProvider (Provider.tsx:8:27)
at Provider (index.tsx:86:26)
at ProviderWrapper (runtime.tsx:9:24)
at AntdProvider (runtime.tsx:31:25)

不管是UmiJS官网下载的还是AntDesignPro官网下载的运行都报错,什么时候解决一下啊。本人nodejs版本:v18.20.5 ,Windows版本:11

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

1 participant