dillon1000/react
Commit
Browse files [eslint] Disallow use within try/catch blocks (#34040)
Follow up to #34032. The linter now ensures that `use` cannot be used within try/catch.
Changed paths2 files
First-parent comparisonpackages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js ModifiedM packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…