MediumScenarioJavaScript and React
Layout shifts when images load. How do you fix it?
This answer is part of Pro
58 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousYour Lighthouse score shows a poor LCP. What do you do?Next Design a reusable accessible modal component.