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

Button 在 React.StrictMode 模式下,控制台报警告 #23282

Closed
1 task
XianZhengquan opened this issue Apr 15, 2020 · 1 comment
Closed
1 task

Button 在 React.StrictMode 模式下,控制台报警告 #23282

XianZhengquan opened this issue Apr 15, 2020 · 1 comment

Comments

@XianZhengquan
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

React.StrictMode 模式下 Button 组件控制台报警告

What is expected?

React.StrictMode 模式下 Button 组件控制台不报警告

What is actually happening?

React.StrictMode 模式下 Button 组件控制台报警告

Environment Info
antd 4.1.3
React latest
System win10
Browser chrome80
@afc163
Copy link
Member

afc163 commented Apr 15, 2020

Duplicate of #22493

@afc163 afc163 marked this as a duplicate of #22493 Apr 15, 2020
@afc163 afc163 closed this as completed Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants