eslint-plugin-react-prefer-function-component icon indicating copy to clipboard operation
eslint-plugin-react-prefer-function-component copied to clipboard

ESLint lint rule to enforce function components in React

Results 1 eslint-plugin-react-prefer-function-component issues
Sort by recently updated
recently updated
newest added

This PR adds an `allowGetDerivedStateFromError` optional to detect error boundaries that do not implement `componentDidCatch`, which is optional according to the [docs](https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary). I do think it would be nicer to...