-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
findDOMNode is deprecated in StrictMode < Button / > #4050
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
To avoid |
@layershifter But, it can be painful to write |
@uinstinct as consumer you are not forced to write This warning comes from
To remove the warning we need to remove usages of For now, you can ignore this warning. |
Sure, it will be very nice for the semantic-ui-react component are updated soon because we rely on it for doing for projects. |
Is there any update on this issue? |
could we get this on a milestone? |
This will be fixed by #4233. |
At least, semantic-ui is still in active development. |
When will this version be released? |
Why was this closed? |
Because it's a duplicate of another issue that tracks the problem. This will be fixed in v3, you can track the process in #4233. Thanks. |
Bug Report
I was having this problem :
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of RefFindNode which is inside StrictMode.
while working with semantic-ui-reactI would have had use refForwarding. But, now the problem is I have used Button on many different components.
Steps
This thing thing can be reproduced easily in any when we are using the Button component.
Result
Version
"semantic-ui-react": "^1.2.0"
"semantic-ui-css": "^2.4.1"
Testcase
I have added a codesandbox url to see this problem easily:
https://codesandbox.io/s/semantic-ui-react-button-issue-d6ipt?file=/src/App.js
The text was updated successfully, but these errors were encountered: