Skip to content

afterUpdate docs should mention recursion protection #2778

@chris-morgan

Description

@chris-morgan

In src/internal/scheduler.js, flush() protects against recursion caused by afterUpdate with its seen_callbacks variable.

This may lead to surprising behaviour, if the user depends on multiple but finite invocations of their afterUpdate callback, so it should be documented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions