Skip to content

setState Errors  #4

Closed
Closed
@bradennapier

Description

@bradennapier

Getting the always loved Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the AsyncComponent component.

I noticed when perusing the code there was no handling of componentWillUnmount to cancel your promises so that they don't request this.setState().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions