React 16.7 - React.SFC is now deprecated (ok)
https://stackoverflow.com/questions/53885993/react-16-7-react-sfc-is-now-deprecated
This PR renames React.SFC
and React.StatelessComponent
to React.FunctionComponent
, while introducing deprecated aliases for the old names.
So your example would become:
Or
Last updated
Was this helpful?