Skip to content

Stop and remove timeout on componentWillUnmount #2

Description

@JasperVercammen

If you set a timer for 3 seconds, make sure to catch it and delete it on unMount (3 seconds is enough for a user to navigate away from the page and unmount the CookieToaster. IF the timeout ends, it will try to update the component, which is no longer possible

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