【发布时间】:2021-03-04 22:19:12
【问题描述】:
这就是在我的控制台中获得 doisplay 的内容:
index.js:1 警告:在 StrictMode 中不推荐使用 findDOMNode。 findDOMNode 被传递了一个 Tilt 实例,它位于 StrictMode 中。相反,直接将 ref 添加到要引用的元素。在此处了解有关安全使用 refs 的更多信息:https://reactjs.org/link/strict-mode-find-node
在 div
在倾斜 (http://localhost:3000/static/js/0.chunk.js:36807:5)
在 div
在徽标
在 div
在应用程序(http://localhost:3000/static/js/main.chunk.js:230:5)
【问题讨论】:
标签: javascript node.js reactjs