Frontend guides
React, Next.js, TypeScript, the web platform and machine coding rounds.
66 guides · Newest first · Updated
- Core Web Vitals Explained: LCP, INP and CLS With Real FixesWhat LCP, INP and CLS measure, the good lines, and the fixes that move each one.Frontend · 28 min read ·
- Frontend State Management at Scale: Server State vs UI StateServer state, UI state, URL state, caches and stores, built on one running seller dashboard example.Frontend · 25 min read ·
- Frontend System Design Interview: A Five-Step FrameworkA five-step framework from requirements to speed and accessibility.Frontend · 28 min read ·
- Design a News Feed Frontend: Virtualized Lists, Likes, CachingVirtualized lists, infinite scroll, optimistic likes and client caching, built on one running community app example.Frontend · 27 min read ·
- Chrome's October 2026 Privacy Sandbox Removal Explained: What Ad Code Must DoWhich ad APIs go, the October and November 2026 dates, why stubs fool feature detection and how to fix ad code.Frontend · 21 min read ·
- React Server Components Explained: What Runs Where and What ShipsWhat runs on the server, what ships to the browser, the serialisable props boundary, Server Functions and security.Frontend · 22 min read ·
- Streaming LLM Responses: Render Tokens in a Chat UI Without JankFetch streams, safe UTF-8 decoding, SSE parsing, frame batching, scroll, stop and resume.Frontend · 26 min read ·
- Core Web Vitals for Single Page Apps: Soft Navigations ExplainedMeasuring LCP, INP and CLS per route with Chrome's soft navigation entries, shown on one food-ordering app.Frontend · 20 min read ·
- Out of Order HTML Streaming: Show the Page Shell First, Slow Parts LaterNamed placeholders, the template element's for attribute, a Python streaming server, proxy buffering and fallbacks.Frontend · 19 min read ·
- Chrome's November 2026 XSLT Removal Explained: What Breaks and How to MigrateWhat stops working in Chrome 158 on 17 November 2026, how to find XSLT usage and how to migrate.Frontend · 19 min read ·
- Mermaid to SVG Explained: Rendering Diagrams at Build Time with PeleWhy build-time rendering beats shipping a large renderer to every reader, what Pele 1.9 changes and what to check.Frontend · 27 min read ·
- eMudhra's October 2026 CA Compromise Explained: Weak Keys and What to UpdateWhy eight intermediate CA keys were guessable, how browsers blocked them in hours, and what servers must update.Backend · 20 min read ·
- Design a Calendar Frontend: Recurring Events and DragRecurring events, week layout, drag-to-reschedule, safe saves, time zones and accessibility.Frontend · 26 min read ·
- Design a Chat App Frontend: Sockets, Offline Queue, ReceiptsWebSocket heartbeats and reconnects, an offline outbox, message ordering and read receipts, shown on one running family and shop messaging example.Frontend · 26 min read ·
- Cookies vs Sessions vs Tokens in the BrowserA plain-English guide to where a web app should keep login state, comparing cookies, server sessions and tokens like JWTs on one running net-banking example.Frontend · 26 min read ·
- CORS Explained: Why the Browser Blocks Your RequestOrigins, preflight requests, the response headers your API must send and how to fix CORS errors safely, built on one running example of an embedded paint widget.Backend · 25 min read ·
- How Browsers Render a Page: The Critical Rendering PathA plain-English guide to the critical rendering path, from HTML bytes to pixels, built on one running example of a light Hindi news site for cheap phones.Frontend · 20 min read ·
- Frontend Accessibility and i18n: Design for Every UserA pension web app used by retirees in 12 Indian languages.Frontend · 25 min read ·
- Frontend Security: XSS, CSRF and CSP ExplainedHow XSS, CSRF and clickjacking work and how to block them, built on one running credit society portal example.Frontend · 26 min read ·
- Image Optimization: Formats, Sizes and Lazy LoadingFormats, responsive sizes, lazy loading and video, built on one running example of a craft marketplace.Frontend · 30 min read ·
- Design a Ride-Hailing Map Frontend: Live Locations, Less BatteryGPS send rules, live connections, smooth markers and battery care.Frontend · 28 min read ·
- Rendering Patterns Explained: When to Use CSR, SSR, SSG and ISRWhere each one builds the HTML and which pages need which.Frontend · 27 min read ·
- Design a Video Player Frontend (HLS and Adaptive Bitrate)HLS playlists, adaptive bitrate, buffer limits and fast startup.Frontend · 25 min read ·
- Micro-Frontends: When Splitting the Frontend Helps TeamsWhat they are, how the pieces join on one page, what they cost, and when they help, built on one running super-app example.Frontend · 25 min read ·