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:

The Hidden Cost of MutationObserver: What Fires It and What Happens Next

Browser Internals

MutationObserver is the standard API for watching DOM changes, but it is easy to create observers that fire far more often than expected and trigger expensive processing on every mutation. Understanding when and why it fires is essential for using it without tanking performance.

Streaming SSR: How Servers Send HTML Before the Page Is Ready

Rendering & Frameworks

Traditional server-side rendering waits for all data to be fetched before sending any HTML. Streaming SSR changes this by sending HTML in chunks as it becomes ready, dramatically improving time to first byte and perceived performance for data-heavy pages.