Blog & Articles

Frontend insights &
engineering stories.

Deep dives into modern frontend development, React and Next.js, and the tools I use daily.

React Performance: How to Fix Unnecessary Re-renders — article by Amrit Sapkota
Frontend
Nov 1, 202612 min read

React Performance: How to Fix Unnecessary Re-renders

Most React performance problems are unnecessary re-renders. Measure them with the Profiler, fix the structure, then let React Compiler handle memoization.

Read Article
Next.js SEO Guide: Metadata, Sitemaps, OG Images and JSON-LD — article by Amrit Sapkota
Next.js
Oct 30, 202612 min read

Next.js SEO Guide: Metadata, Sitemaps, OG Images and JSON-LD

Next.js SEO comes down to a few files done right. Set up metadataBase, canonicals, a sitemap with real dates, robots, OG images and connected JSON-LD.

Read Article
React 19 Forms: useActionState, useFormStatus and useOptimistic — article by Amrit Sapkota
Frontend
Oct 27, 202612 min read

React 19 Forms: useActionState, useFormStatus and useOptimistic

React 19 forms, step by step: useActionState for errors and pending state, useFormStatus, useOptimistic, and a Server Action that works without JS.

Read Article
Swagger UI in Next.js: Your API Deserves a Homepage — article by Amrit Sapkota
Next.js
Aug 11, 202612 min read

Swagger UI in Next.js: Your API Deserves a Homepage

A verified Swagger UI setup for the Next.js App Router — plus the two shorter paths most guides skip. Write an OpenAPI spec, serve it at /openapi.json, skip the ssr:false ceremony you no longer need, and gate the docs before you deploy.

Read Article
Core Web Vitals: A Frontend Developer's Guide to a Fast Site — article by Amrit Sapkota
Frontend
Jul 17, 20268 min read

Core Web Vitals: A Frontend Developer's Guide to a Fast Site

A practical Core Web Vitals guide for frontend developers: what LCP, INP, and CLS actually measure, how to diagnose them with field and lab data, and concrete React and Next.js fixes to pass Core Web Vitals and improve SEO.

Read Article
How AI Is Reshaping Frontend Development (and How to Keep Up) — article by Amrit Sapkota
Frontend
Jul 17, 20267 min read

How AI Is Reshaping Frontend Development (and How to Keep Up)

AI in frontend development is now a daily reality — from UI generation to automated code review. Here's where AI genuinely helps, what it still gets wrong, what it means for your role, and how to stay ahead as a frontend developer in 2026.

Read Article
The Modern Frontend Developer's Toolkit in 2026 — article by Amrit Sapkota
Frontend
Jul 17, 20268 min read

The Modern Frontend Developer's Toolkit in 2026

A practical guide to the modern frontend developer toolkit in 2026: the frameworks, build tools, styling, testing, and AI tools that make up a productive stack, and how to choose what actually fits your project.

Read Article
Next.js Performance in 2026: Making Your App Fast by Default — article by Amrit Sapkota
Next.js
Jul 17, 20268 min read

Next.js Performance in 2026: Making Your App Fast by Default

A practical guide to Next.js performance in 2026: use Server Components to ship less JavaScript, optimize images and fonts, get caching right in the App Router, cut bundle size, and measure Core Web Vitals in production.

Read Article
Next.js App Router: Server Components in Practice — article by Amrit Sapkota
Next.js
Jul 17, 20267 min read

Next.js App Router: Server Components in Practice

A practical guide to Next.js App Router server components: the server-first mental model, when to reach for client components, data fetching with async/await, streaming with Suspense, and the boundary mistakes that trip developers up.

Read Article

Showing 1–9 of 18 articles

All articles