我这里报这个错是为啥呢

来源:5-4 Modal组件使用讲解(2)

unbreakable_全栈

2022-03-27

react-dom.development.js:67 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper which is inside StrictMode. 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

写回答

1回答

河畔一角

2022-04-20

这只是一个警告,没有报错

0
0

React全家桶+AntD共享单车后台管理系统开发

React全家桶+AntD框架+大量前沿技术

1142 学习 · 495 问题

查看课程