Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

131
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!