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:

Suspense Boundaries: Declarative Loading States in React

Rendering & Frameworks

React Suspense changes how loading states work. Instead of managing isLoading flags in every component, you declare where loading UI should appear with Suspense boundaries, and React takes care of showing fallbacks when any child is not ready to render.

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.