Reproduction link
latobibor/antd-tryout@e373cb5
Steps to reproduce
- install dependencies (npm i)
- run app (npm start)
- check console
What is expected?
No warnings should be displayed.
What is actually happening?
A warning message will appear in console.log stating "Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Wave which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here:"
| Environment |
Info |
| antd |
4.0.3 |
| React |
16.13.1 |
| System |
Windows 8.1 |
| Browser |
Chrome 80 |
The source of the problem is coming from <Button /> component.
See the file in question:
latobibor/antd-tryout@e373cb5#diff-b525f6f7c3584f9af17112d37dae3a42
Reproduction link
latobibor/antd-tryout@e373cb5
Steps to reproduce
What is expected?
No warnings should be displayed.
What is actually happening?
A warning message will appear in console.log stating "Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Wave which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here:"
The source of the problem is coming from
<Button />component.See the file in question:
latobibor/antd-tryout@e373cb5#diff-b525f6f7c3584f9af17112d37dae3a42