Skip to content

Commit bdf5f55

Browse files
committed
Add React Hook linting rules to roadmap
1 parent 9c6fd71 commit bdf5f55

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apps/website/content/docs/roadmap.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@ Minimum supported versions:
3232

3333
### New Rules
3434

35-
- [ ] `react-x/set-state-in-effect` - Validates against calling `setState` synchronously in an effect, which can lead to re-renders that degrade performance (TBD)\
35+
- [ ] `react-x/set-state-in-effect` - Validates against calling `setState` synchronously in an effect, which can lead to re-renders that degrade performance\
3636
_A fast implementation of [set-state-in-effect](https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect) that doesn't require React Compiler integration_
37-
- [ ] `react-x/set-state-in-render` - Validates against setting state during render, which can trigger additional renders and potential infinite render loops (TBD)\
37+
- [ ] `react-x/set-state-in-render` - Validates against setting state during render, which can trigger additional renders and potential infinite render loops\
3838
_A fast implementation of [set-state-in-render](https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-render) that doesn't require React Compiler integration_
39+
- [ ] `react-x/static-components` - Validates that components are static, not recreated every render\
40+
_A fast implementation of [static-components](https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components) that doesn't require React Compiler integration_
41+
- [ ] `react-x/component-hook-factories` - Validates against higher order functions defining nested components or hooks\
42+
_A fast implementation of [component-hook-factories](https://react.dev/reference/eslint-plugin-react-hooks/lints/component-hook-factories) that doesn't require React Compiler integration_
3943
- [ ] `react-x/function-component-definition` - Enforces the definition of function components ([Rel1cx/eslint-react#739](https://github.com/Rel1cx/eslint-react/issues/739))
40-
- [ ] `react-dom/no-unmount-component-at-node` - Replaces usages of `ReactDom.unmountComponentAtNode()` with `root.unmount()` (React 19)
4144

4245
### Deprecated Rules
4346

0 commit comments

Comments
 (0)