VD.

Blog

Notes, experiments, and thoughts on frontend development and UX.

Understanding React Server Components: Architecture, Patterns & Best Practices
25 min

Understanding React Server Components: Architecture, Patterns & Best Practices

A deep dive into React Server Components covering the RSC protocol, streaming architecture, server actions, and best practices for building performant Next.js applications.

From URL to Pixels: What Happens When You Enter a URL in the Browser

From URL to Pixels: What Happens When You Enter a URL in the Browser

A deep dive into the complete journey from typing a URL to seeing a rendered page—covering DNS resolution, TCP handshakes, TLS encryption, HTTP requests, and browser processing.

React Context Deep Dive: Avoiding Re-renders and Advanced Patterns
15 min

React Context Deep Dive: Avoiding Re-renders and Advanced Patterns

Master React Context with this deep dive into how it works internally, why it causes re-renders, and proven patterns to optimize performance in production applications.

SOLID Principles in React: Building Better Components
12 min

SOLID Principles in React: Building Better Components

Learn how to apply SOLID principles from object-oriented design to build more maintainable, scalable, and testable React applications.

Micro-Frontends: Architecture Patterns, Trade-offs, and Implementation Strategies

Micro-Frontends: Architecture Patterns, Trade-offs, and Implementation Strategies

A comprehensive guide to micro-frontend architecture. Learn composition patterns, Module Federation, cross-app communication, and when this architecture makes sense for your team.

State Management Architecture: From Context to External Stores

State Management Architecture: From Context to External Stores

A comprehensive guide to state management in React. Learn when to use Context, when to reach for external stores like Zustand or Redux, and how to handle server state with TanStack Query.

API Layer Architecture: Managing Data Fetching at Scale

API Layer Architecture: Managing Data Fetching at Scale

A practical guide to building a robust API layer in frontend applications. Learn about caching strategies, request deduplication, error handling, and patterns that scale.

The JavaScript Event Loop Explained

A clear explanation of how JavaScript handles asynchronous operations using the Event Loop, Call Stack, and Task Queues.

The Critical Rendering Path: How Browsers Render Web Pages

The Critical Rendering Path: How Browsers Render Web Pages

Understanding how browsers render web pages is essential for building fast websites. Learn about the Critical Rendering Path and how to optimize each step.

What Exactly is 'this' in JavaScript?

What Exactly is 'this' in JavaScript?

A deep dive into JavaScript's most confusing keyword. Learn how 'this' behaves in different contexts, the difference between regular and arrow functions, and common pitfalls to avoid.