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.0.0

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
    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
    A fast implementation of set-state-in-render that doesn't require React Compiler integration
  • react-x/static-components - Validates that components are static, not recreated every render
    A fast implementation of static-components that doesn't require React Compiler integration
  • react-x/component-hook-factories - Validates against higher order functions defining nested components or hooks
    A fast implementation of component-hook-factories that doesn't require React Compiler integration
  • react-x/function-component-definition - Enforces the definition of function components (Rel1cx/eslint-react#739)

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