Skip to content

[Roadmap] Milestone 3.0 (TBD)Β #1237

@Rel1cx

Description

@Rel1cx

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 calling setState 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 of ReactDom.unmountComponentAtNode() with root.unmount() (React 19)

Deprecated Rules

  • react-hooks-extra/no-direct-set-state-in-use-effect - Replaced by react-x/set-state-in-effect (TBD)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions