KI

Kit

@eslint-react/kit

ESLint React's utility module for building custom React rules with JavaScript functions.

Utilities
react
eslint
eslint-react
@eslint-react/kit
Utilities
javascript
npm
frontend
open source
ui
Stars
583
Weekly
802k
Open issues
26
Bundle
~25 kB

Installation

npm install @eslint-react/kit

Code example

import { useKit } from "@eslint-react/kit";

export function Example() {
  const value = useKit();
  return <p>{String(value)}</p>;
}

Pros & cons

Pros

  • Actively maintained by Rel1cx
  • 802k weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 26 open issues on GitHub

FAQs

Alternatives & similar libraries