-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8月9日版本craete umi自带警告 #2966
Comments
https://github.com/facebook/react/releases/tag/v16.9.0 也是 8.9 发布的, |
index.js:1 Warning: [antd: LocaleProvider] 这个警告也会有 |
我这边也提示,一般怎么解决呢? |
请问怎么解决? |
固定版本 就可以吧 |
|
目前 create umi 脚手架中这些警告还是存在的 |
固定版本也没用 |
@shx996 我也没解决😩 |
@wangxingkang 写死版本可以的,但是 |
@wangxingkang 真的解决了,谢谢谢谢谢谢谢谢😄 |
@shx996 写死antd版本 |
或者等着Umi 解决 |
最新umi版本已修复 |
用了最新的[email protected] 创建项目,仍然会有这个问题。固定react和react-dom为"16.8.6"后,删除依赖,重新安装依赖,就没再报[email protected]的警告了。 |
这是 react 的警告 与 umi 无关 |
新版antd的LocaleProvider废弃了嘛,改用ConfigProvider就好了 |
Warning: componentWillMount has been renamed, and is not recommended for use.
Warning: componentWillReceiveProps has been renamed, and is not recommended for use.
8月9日yarn create umi 并安装依赖后,直接启动会报2条警告,取了两条警告的第一句。
The text was updated successfully, but these errors were encountered: