Open itkasumy opened 4 years ago
I used latest react-nativ, and got this warning: componentWillReceiveProps has been renamed, and is not recommended for use.
React v16.9.0 到你的安装的报警告的依赖根目录下执行下面的命令可以修复(原文出自:https://reactjs.org/blog/2019/08/08/react-v16.9.0.html#renaming-unsafe-lifecycle-methods) cd your_project npx react-codemod rename-unsafe-lifecycles
I used latest react-nativ, and got this warning: componentWillReceiveProps has been renamed, and is not recommended for use.