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:

Layout Thrashing: What It Is and How to Fix It

Performance

Layout thrashing is one of the most common and most fixable causes of janky UIs. It happens when JavaScript forces the browser to repeatedly recalculate layout in a single frame — and it can turn a 60fps animation into a stuttering slideshow.

React's Fiber Architecture: How React Became Interruptible

Rendering & Frameworks

React rewrote its core rendering engine in 2017 to introduce Fiber — an architecture that enables prioritised, interruptible, and resumable rendering. Here's what changed and why it matters for modern React features.