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
No warnings
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
0.88.0
See https://github.com/Semantic-Org/Semantic-UI-React/issues/2732#issuecomment-479928712 - This is unfixable without https://github.com/reactjs/rfcs/pull/97 being merged
10x
Most helpful comment
See https://github.com/Semantic-Org/Semantic-UI-React/issues/2732#issuecomment-479928712 - This is unfixable without https://github.com/reactjs/rfcs/pull/97 being merged