Skip to content
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

最新版本的 antd 按需加载后使用Button组件会报警告 #22601

Closed
xkmy opened this issue Mar 25, 2020 · 4 comments
Closed

最新版本的 antd 按需加载后使用Button组件会报警告 #22601

xkmy opened this issue Mar 25, 2020 · 4 comments
Labels

Comments

@xkmy
Copy link

xkmy commented Mar 25, 2020

antd版本:4.0.4
react版本:16.13.1
image
image

@ant-design-bot
Copy link
Contributor

Hello @xkmy, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @xkmy,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@afc163
Copy link
Member

afc163 commented Mar 26, 2020

https://github.com/facebook/create-react-app/releases/tag/v3.4.1 开始默认开启 React.StrictMode,这种反馈会越来越多。

#22493
#9870

@ok2fly
Copy link

ok2fly commented Mar 28, 2020

这种反馈会越来越多。

这种问题应该如何解决 ?求大神指点

@ok2fly
Copy link

ok2fly commented Mar 28, 2020

删除index.js的React.StrictMode标签就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants