Eslint Plugin React Hooks Extra
eslint-plugin-react-hooks-extra
ESLint React's ESLint plugin for React Hooks related rules.
Hooks
react
hooks
hooks-extra
eslint
eslint-react
eslint-plugin
eslint-plugin-react-hooks-extra
javascript
npm
frontend
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install eslint-plugin-react-hooks-extraCode example
import { useEslintPluginReactHooksExtra } from "eslint-plugin-react-hooks-extra";
export function Example() {
const value = useEslintPluginReactHooksExtra();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by Rel1cx
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub