3 ms·
Do you use the exhaustive-hooks ESLint rule? I think without it hooks are unusable in a team setting.
by jitl 5y ago
Do you use the exhaustive-hooks ESLint rule? I think without it hooks are unusable in a team setting.
- brundolf 5y agoIt helps a lot, but it has gaps, because it reasons about syntax and not values. A complete solution is intractable without integrating this stuff at a language/type-system level (and I don't mean TypeScript; TypeScript can't represent hooks' relationships either).