IAMUVIN

Blog

Blog

Technical writing on Web3, AI, and building things. Written by Uvin Vindula.

130 articles · 8 in Next.js & React

Next.js & React14 min
IAMUVIN

Next.js 16 Complete Guide: Everything That Changed

A comprehensive guide to Next.js 16 from someone who migrated four production apps. Covers App Router improvements, React 19 integration, Server Components, streaming patterns, performance gains, and a practical migration guide from Next.js 15.

U
Uvin Vindula·January 12, 2026
Next.js & React11 min
IAMUVIN

Next.js Authentication Patterns in 2026: What Actually Works

A battle-tested comparison of Next.js authentication approaches in 2026. Covers Supabase Auth, NextAuth/Auth.js, Clerk, and custom JWT implementations with real code examples. Includes session management strategies, server-side auth in App Router, protected API routes, and the RLS + auth combo that eliminates an entire class of security bugs. Honest opinions from shipping production apps with every approach.

U
Uvin Vindula·December 1, 2025
Next.js & React11 min
IAMUVIN

Next.js Caching Strategies: ISR, Revalidation, and What Actually Works

A production-tested guide to Next.js caching in 2026. Covers ISR with revalidate, on-demand revalidation with tags, Sanity webhook integration, fetch cache options, unstable_cache for database queries, Redis/Upstash patterns, and the common bugs that silently break your cache. Real strategies from shipping dozens of production sites.

U
Uvin Vindula·July 21, 2025
Next.js & React12 min
IAMUVIN

Next.js Server Actions and Forms: The Complete Guide

How I handle every form in production with Next.js Server Actions. Covers Zod validation, useFormStatus loading states, useOptimistic updates, error handling, file uploads, and the architecture I use across EuroParts Lanka, iamuvin.com, and every client project.

U
Uvin Vindula·February 3, 2025
Next.js & React10 min
IAMUVIN

Next.js Image Component Deep Dive: Beyond the Basics

Everything I have learned about next/image after shipping dozens of production sites. Covers the sizes prop most developers get wrong, external domain configuration, blur placeholders, priority loading, responsive srcSet, Sanity CMS integration, and real performance numbers.

U
Uvin Vindula·November 4, 2024
Next.js & React10 min
IAMUVIN

Next.js Middleware Patterns for Production Applications

Battle-tested Next.js middleware patterns I use on every production app — authentication redirects, rate limiting at the edge, geo-based routing, bot detection, A/B testing, and a complete middleware.ts template you can drop into any project.

U
Uvin Vindula·September 2, 2024
Next.js & React10 min
IAMUVIN

Streaming and Suspense in Next.js: Patterns for Fast Page Loads

Battle-tested streaming and Suspense patterns from production Next.js apps. Learn how to get LCP under 1.5 seconds by streaming expensive data fetches while showing an instant shell. Real examples from EuroParts Lanka and FreshMart.

U
Uvin Vindula·July 22, 2024
Next.js & React12 min
IAMUVIN

React Server Components: A Practical Guide for Real Projects

A hands-on guide to React Server Components from someone who uses them on every project. Covers the Server vs Client decision tree, data fetching patterns, composition strategies, streaming, and real performance numbers from EuroParts Lanka and iamuvin.com.

U
Uvin Vindula·May 13, 2024