Eslint Plugin React Dom
eslint-plugin-react-dom
ESLint React's ESLint plugin for DOM related rules.
Utilities
react
dom
eslint
eslint-react
eslint-plugin
eslint-plugin-react-dom
Utilities
javascript
npm
frontend
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install eslint-plugin-react-domCode example
import { useEslintPluginReactDom } from "eslint-plugin-react-dom";
export function Example() {
const value = useEslintPluginReactDom();
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