react-dom.development.js:88 Warn

2021-05-29  本文已影响0人  南慕瑶

【warning提示】

react-dom.development.js:88 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node

【代码片段】

【解决方案】

# 以上,仅供参考。

上一篇 下一篇

猜你喜欢

热点阅读