Skip to content

Rule proposal: react/no-will-mount #1147

Closed
@jacobrask

Description

@jacobrask

There are few use cases for componentWillMount that cannot be handled in the constructor.

It is a common mistake to put asynchronous requests in componentWillMount which could potentially cause hard to find errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions