CLS stands for “content layout shift”: When the elements are added dynamically during the page load (or their size changes), it can cause the page to jump unexpectedly.
This guide shows how to fix this issue with practical code examples written in React.
const data = fetch(‘https://example.com');