Skip to content

React legacy lifecycle method deprecation #58

@linuswillner

Description

@linuswillner

React recently moved forward with its intent to deprecate and eventually remove unsafe lifecycle methods. This includes componentWillReceiveProps, which this component utilises. As such, usage of this component now triggers a warning in React:

Warning

React has some migration directives here: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props

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