ngrx change detection strategy on dummy components

Discussão em 'Angular' iniciado por gabric, Abril 20, 2025.

  1. gabric

    gabric Guest

    I'm having a look to the example-app defined in the ngrx repo: https://github.com/ngrx/platform/tree/master/example-app

    I can see that the ChangeDetectionStrategy.OnPush property is set only on "container" components while dummy components don't override the default change detection strategy.

    Can anyone explain the reason? I would expect all the components in the application to use ChangeDetectionStrategy.OnPush

    Thanks,

    Gab

    Continue reading...

Compartilhe esta Página