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

不懂这么多警告是啥意思。。。 #22604

Closed
helloCheng09 opened this issue Mar 25, 2020 · 6 comments
Closed

不懂这么多警告是啥意思。。。 #22604

helloCheng09 opened this issue Mar 25, 2020 · 6 comments
Labels

Comments

@helloCheng09
Copy link

image

@ant-design-bot
Copy link
Contributor

Hello @helloCheng09, 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!

你好 @helloCheng09,为了能够进行高效沟通,我们对 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

@helloCheng09
Copy link
Author

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

#22493
#9870
Thank you bro!At first I thought you wanted me to open the strict mode, the original is to let me delete the strict mode!Haha, there is no warning after deleting this tag, you can happily use antd~ thank you for your hard development!
image

@ok2fly
Copy link

ok2fly commented Mar 28, 2020

请问 楼主是怎么 解决 开发者模式下 按需加载 组件 控制台报错的

@helloCheng09
Copy link
Author

请问 楼主是怎么 解决 开发者模式下 按需加载 组件 控制台报错的

是一样的报错吗?一样的报错删除index.js的React.StrictMode标签就可以了
https://blog.csdn.net/weixin_44544388/article/details/105115366

@ok2fly
Copy link

ok2fly commented Mar 28, 2020

https://blog.csdn.net/weixin_44544388/article/details/105115366

是一样的报错,
谢谢 @helloCheng09 你给出的链接解决了我的问题,这个问题让我郁闷4天,

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