Hot take: Now that we have the React Compiler, hook rules should be enforced at the compiler level.
I've seen too many codebases just ignore them. I've seen hooks used conditionally, missing deps in arrays, or no eslint-plugin-react-hooks at all. This stuff should be unskippable
8 months ago