Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

170
Vistas
Is there any way to find out what is triggering change detection in Angular 2?

I recently released a new component and it seems to be triggering change detection multiple times a second:

  // some debugging code
  ngDoCheck() {
    console.log('DO_CHECK', new Date().toLocaleTimeString());
  }

Results:

enter image description here

I've yet to figure out what is triggering this.

Am I reading this output correctly? Change detection is being triggered multiple times a second?

Is there any good method for figuring out what is triggering change detection in an Angular 2 application?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

The Angular DevTools for Chrome provide a profiler that will list all change detection events and will show the source for each event.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda