react使用新版本@17.x 路由懒加载使用 react-loadable 报生命周期警告解决方法(Please update the following components: LoadableComponent)

 找到node_modules 里面找到 react-loadable 包

 

componentWillMount  修改为  UNSAFE_componentWillMount 即可。
原文地址:https://www.cnblogs.com/swt-axios/p/15433687.html