如何警告固定的反应猫头鹰轮旋
我试图解决这个错误。请帮助我。 。
指示您的代码中的错误。参见 https://reaectjs.org/link/link/link/link/unsafe-compongent-lifecycles 。
- 将数据获取代码或副作用移动到组件的日期。
- 如果您要更新道具时,请重新制作您的代码以使用我的技术或将其移至静态从道具中派生的状态。了解更多信息: https://reactjs.org/link/link/link/derived-state
请更新更新以下组件:React Owl Carousel
I am tried to this error .please help me. .how to fixed this warning.. I using react project to owl-carousel and this return warning.. how to solve this warning
warning:
react_devtools_backend.js:3973 Warning: Using UNSAFE _component Will Receive Props in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- Move data fetching code or side effects to component Did Up date.
- If you're updating state whenever props change, refactor your code to use me techniques or move it to static get Derived State From Props. Learn more at: https://reactjs.org/link/derived-state
Please update the following components: React Owl Carousel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论