-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
System Requirements
Minimum supported versions:
- Node.js: 24.8.0
- ESLint: 9.36.0
- TypeScript: 5.9.2
New Rules
-
react-x/set-state-in-effect
- Validates against callingsetState
synchronously in an effect, which can lead to re-renders that degrade performance (TBD)
A fast implementation of set-state-in-effect that doesn't require React Compiler integration -
react-x/set-state-in-render
- Validates against setting state during render, which can trigger additional renders and potential infinite render loops (TBD)
A fast implementation of set-state-in-render that doesn't require React Compiler integration -
react-x/function-component-definition
- Enforces the definition of function components (Rel1cx/eslint-react#739) -
react-dom/no-unmount-component-at-node
- Replaces usages ofReactDom.unmountComponentAtNode()
withroot.unmount()
(React 19)
Deprecated Rules
-
react-hooks-extra/no-direct-set-state-in-use-effect
- Replaced byreact-x/set-state-in-effect
(TBD)
mcmxcdev
Metadata
Metadata
Assignees
Labels
No labels