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

132
Vistas
NextJS - JSON File produce Column Layout Shift?

Hey guys Im on the hunt for page speed ;), and literally just the CLS (Columns Layout Shift) breaks my neck... I have a JSON file which holds all the content for my page and it gets loaded dynamically to my Components like: (easy example, in production the json is much bigger...)

import data from "./Model.json";

export default function Component (){
return <div>{data.text}</div>
}

Do you think in the first time my div is height 0 and after the content comes from the model.json the div is growing and thats the reason I got these CLS ?

Greeting and Thanks for any helps :heart:

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