Skip to content

Warning with react 16.5.0 : "It is not recommended to assign props directly to state..." #11

Closed
@yched

Description

@yched

From the react 16.5.0 release notes :
"Warn when this.state is initialized to props react issue 11658"

react-debounce-render does just that, and thus triggers the newly added warning every time :-)

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