AlexWebLab

Explore a wide range of web development topics, from JavaScript to React and beyond, and uncover valuable insights to enhance your skills.

Latest 2 articles:

Cumulative Layout Shift: Why Your Page Jumps and How to Stop It

Performance

Cumulative Layout Shift measures visual instability — the total amount of unexpected layout movement that occurs during a page's lifetime. A high CLS score means elements shift under the user's cursor right as they try to click. It is one of the most impactful Core Web Vitals for perceived quality.

React Server Components: What They Are and What They Actually Change

Rendering & Frameworks

React Server Components are the most significant change to the React component model since hooks. They run exclusively on the server, have zero bundle size contribution, and enable direct access to server resources — but they come with a new mental model that takes time to internalize.