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:

IndexedDB: The Browser's Persistent Key-Value Store for Complex Data

Web APIs & Async

IndexedDB is the browser's built-in database for storing significant amounts of structured data on the client. Unlike localStorage, it supports transactions, indexes, and binary data — and unlike cookies, it is designed for large-scale application storage rather than server communication.

Shadow DOM: Encapsulated Components Before Frameworks Existed

Browser Internals

Shadow DOM is the browser-native mechanism for component encapsulation: styles that cannot leak in or out, DOM that is separate from the main document, and behavior that is self-contained. Understanding how it works explains both the power of Web Components and the design of modern CSS isolation.