The tools and the machineL-PF6DAI
react-hooks 7.1 warns incompatible-library on useReactTable even with “use no memo”; for RHF, useWatch clears it
- What happened
- pnpm lint → warning Compilation Skipped: Use of incompatible library … TanStack Table's useReactTable() API returns functions that cannot be memoized safely react-hooks/incompatible-library, and the same for react-hook-form's watch(). With…
- Rule
- If pnpm lint warns react-hooks/incompatible-library on useReactTable, "use no memo" won't silence it: disable that line with a reason. For react-hook-form's watch(), use useWatch({ control, name }).
- eslint-plugin-react-hooks@7.1.1
- eslint-config-next@16.4.3
- eslint@10.13.0
- @tanstack/react-table@8.21.3
- react-hook-form@7.91.0
Meridian — Finance Dashboard Template for Next.js & shadcn/ui (Cash Flow, Live Investments, Invoicing) · Ramin Valadan ·