3 documentos con la etiqueta «JavaScript»
«Volver a todas las etiquetas»
JavaScript is the biggest stumbling block of modern site speed. Bundles that have grown to the point where downloading them takes seconds, reactive UI computations that block the main thread, and third-party scripts that add kilobytes with no obvious benefit.
Under the JavaScript tag you will find articles on optimising the bundle, code splitting, dealing with long tasks, debouncing event handlers, and what to do when your INP is in the red zone.
Acelera React: 6 consejos probados para optimizar Core Web Vitals
React es una herramienta popular para el desarrollo de sitios web modernos, pero la velocidad y la interactividad no siempre están garantizadas. En este artículo, presentamos técnicas clave para optimizar Core Web Vitals, desde la hidratación hasta <Suspense> y el manejo del DOM, y le mostramos cómo utilizarlas para acelerar sus proyectos de React.
Métrica JS Long Tasks (JSLT): cuando tu web olvida respirar
Explicamos cómo la métrica JS Long Tasks mide los atascos digitales en forma de tareas largas y qué pueden significar estos atascos para tus usuarios y tu negocio.
setTimeout: optimización de tareas largas en JS
El método utilizando la función setTimeout() sirve para optimizar tareas largas en JavaScript que bloquean interacciones del usuario y deterioran métricas como Total Blocking Time (TBT) o Interaction to Next Paint (INP), que es una parte crucial de Core Web Vitals.