1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

What's the difference between markForCheck() and detectChanges()

Discussão em 'Angular' iniciado por parliament, Novembro 5, 2024 às 12:22.

  1. parliament

    parliament Guest

    What is the difference between ChangeDetectorRef.markForCheck() and ChangeDetectorRef.detectChanges()?

    I only found information on SO as to the difference between NgZone.run(), but not between these two functions.

    For answers with only a reference to the doc, please illustrate some practical scenarios to choose one over the other.

    Continue reading...

Compartilhe esta Página