Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

setState being called after unmount #287

@dfrese

Description

@dfrese

I see the React warning "Warning: Can't call setState (or forceUpdate) on an unmounted component." regularly, in particular in the setTimeout context initiated from manageScrollTimeouts.

The component should either cancel all timeouts in willUnmount, or check if's still mounted before each setState in asynchronous contexts.

Version 0.13.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions