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

186
Vistas
Is there a way to improve performance in a React 18 application when navigating away from a page with many components?

I recently updated from React 16 to React 18 and performance during rendering has decreased substantially. The issue appears to be that unmounting components is a slow process. I ran a performance analysis navigating away from the same page and I can see that when I am using React 18 the event handler on page transition takes almost 3 seconds versus 750ms for the same thing in React 16. I am also seeing this lagging behavior any time a component with many children (like a table) is removed from the DOM. Running the React Profiler shows "react commit" is taking up most of the time. Is there some way to make improve React 18 performance when removing components from the screen? Has anyone else noticed this behavior?

I included screenshots of the performance analysis from clicking on a link to navigate away from a page with a table.

React 18 performance

React 16 Performance

about 4 years ago · Juan Pablo Isaza
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