Tech Verse Logo
Enable dark mode
NextJs
Category

NextJs

Explore Next.js to build fast, scalable, and SEO-friendly web apps with cutting-edge front-end techniques.

41 Posts

These guides cover Next.js the way you meet it in production: the App Router, Server Components and Server Actions, caching and revalidation, streaming, middleware and proxy, images, and Core Web Vitals. Most of them start from a specific failure, such as a hydration mismatch, a redirect loop, a timed-out Server Action or a stale cache, and work back to the cause.

A lot of this site runs on Next.js in front of a Laravel API, so several guides deal with that pairing directly: authentication with Sanctum, revalidating pages from Laravel webhooks, and structuring the two in one repository. Caching gets extra care, because it's the part of Next.js that most often behaves differently from what the docs seem to promise.

Everything is written for the current release. When a feature changed between releases, the article says what changed and what to do about it.

Next.js Middleware Authentication and Token Refresh Flows
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Middleware Authentication and Token Refresh Flows

Stopping Layout Shifts in Next.js Dynamic Imports
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Stopping Layout Shifts in Next.js Dynamic Imports

Next.js Route Handler Streaming with ReadableStream
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Route Handler Streaming with ReadableStream

Fixing Next.js Middleware Redirect Loops
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Fixing Next.js Middleware Redirect Loops

Managing Shared Layout State in Next.js App Router
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Managing Shared Layout State in Next.js App Router

Fixing Node.js Memory Limits in Next.js Builds
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Fixing Node.js Memory Limits in Next.js Builds

Debugging Slow and Timed-Out Next.js Server Actions
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Debugging Slow and Timed-Out Next.js Server Actions

Managing Shared Layouts in the Next.js App Router
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Managing Shared Layouts in the Next.js App Router

Isolating Server Components in React and Next.js
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Isolating Server Components in React and Next.js

Synchronizing State Across Parallel Next.js Routes
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Synchronizing State Across Parallel Next.js Routes

Fixing Next.js Server Action Timeout Errors
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Fixing Next.js Server Action Timeout Errors

Next.js Cache Tags and On-Demand Revalidation
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Cache Tags and On-Demand Revalidation

Securing Next.js Route Handlers Against Abuse
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Securing Next.js Route Handlers Against Abuse

Next.js Custom Image Loader for S3 and MinIO
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Custom Image Loader for S3 and MinIO

Next.js Server Actions: Concurrency and Stale Data
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Server Actions: Concurrency and Stale Data

Next.js Streaming and Suspense: Boundaries That Work
Md. Mostafijur RahmanMMd. Mostafijur Rahman
Md. Mostafijur Rahman

Next.js Streaming and Suspense: Boundaries That Work