You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import React, { StrictMode } from 'react'
import { Button } from 'semantic-ui-react'
const ButtonExampleButton = () =>
<StrictMode>
<Button as="a" href="https://google.com">
Click Here
</Button>
</StrictMode>
export default ButtonExampleButton
Expected Result
No warnings
Actual Result
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of RefFindNode which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in a (created by Button)
in RefFindNode (created by Ref)
in Ref (created by Button)
in Button (at example.js:6)
in StrictMode (at example.js:5)
in ButtonExampleButton
Bug Report
Steps
Expected Result
No warnings
Actual Result
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of RefFindNode which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in a (created by Button)
in RefFindNode (created by Ref)
in Ref (created by Button)
in Button (at example.js:6)
in StrictMode (at example.js:5)
in ButtonExampleButton
Version
0.88.0
Testcase
https://codesandbox.io/s/semantic-ui-react-1qmyh
The text was updated successfully, but these errors were encountered: