Skip to content

warning message recommends using soon deprecated lifecycle methods #12748

@iliran11

Description

@iliran11

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React 16.3.1

What is the current behavior?
Warning message recommends using soon to-be deprecated lifecycle method - componentWillMount

Warning Content:
Warning: Cannot update during an existing state transition (such as within renderor another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved tocomponentWillMount.
What is the expected behavior?
warning messages should be inline with deprecation plans.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions