unexpected-react
unexpected-react copied to clipboard
Replace "stateful components" with "function components"
You might have previously known these as “stateless components”. We’re now introducing the ability to use React state from these, so we prefer the name “function components”.
https://reactjs.org/docs/hooks-state.html#hooks-and-function-components