Skip to content

Remove componentWillReceiveProps, React 16.9.0 deprecates it. #50

Open
@jimnanney

Description

@jimnanney

React 16.9.0 deprecates the componentWillReceiveProps lifecycle method and throws warnings for it use.

Looking through Autowhatever.js, it appears it is only used for computing theme, sectionItems and sectionIterator. These could be moved to the render function, and if it is expensive, could be memoized.

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