Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add option to skip triggering change detection on event listeners #62151

Closed as not planned
@eneajaho

Description

@eneajaho

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

With zone.js we could run events outside zone and we would skip trigger CD.

With zoneless we cannot skip triggering CD.

markViewDirty(startView, NotificationSource.Listener);

markViewDirty(startView, NotificationSource.Listener);

Proposed solution

Add a flag to opt out of this behavior.

Alternatives considered

Wait for signal components

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