ESLint plugin enforcing the 'use no memo' directive for React libraries incompatible with React Compiler. Current version 1.1.0. Helps automatically detect when using incompatible hooks (e.g., react-hook-form, @tanstack/react-table, material-react-table) and adds the opt-out directive. Differentiator: fills a gap in the React Compiler ecosystem by automating a manual workaround. Requires ESLint >=9.0.0 with flat config support.
npm install eslint-plugin-use-no-memoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESLint flat config to enforce 'use no memo' directive for react-hook-form, @tanstack/react-table, and material-react-table.
Upgrade to ESLint v9 and use eslint.config.js (flat config).
Migrate to eslint.config.js with plugins object.
Use 'use-no-memo/react-hook-form' not 'useNoMemoReactHookForm'.
Run npm install --save-dev eslint-plugin-use-no-memo
Add plugins: { 'use-no-memo': useNoMemo } to your config object.