Latest Posts
Day 19 β Middleware: The Gatekeeper
Intercept requests before they even hit your app. Use Middleware for authentication, redirects, and rewriting paths.
Day 18 β Cookies & Headers: The HTTP Context
Read and write Cookies and Headers in Server Components. Essential for authentication, obsession tracking, and personalization.
Day 17 β Revalidating Data: Freshness on Demand
How do you update the UI after a mutation? Master revalidatePath and revalidateTag to purge the Next.js cache.
Day 16 β Server Actions II: Loading & Error States
Make your Server Actions interactive. Use useFormStatus for pending states and useFormState for handling validation errors.
Day 15 β Server Actions I: Forms without APIs
The API is dead? Long live Server Actions. Learn how to mutate data directly from your components without creating REST endpoints.
Day 14 β Route Handlers: Your Backend API
You donβt need a separate Express server. Learn how to create API endpoints directly in Next.js using route.ts files.
Day 13 β Error Handling: Breaking Gracefully
Things go wrong. Learn how to use error.tsx and not-found.tsx to handle 404s and crashes without taking down your entire app.
Day 12 β Streaming & Suspense: Instant UI
Donβt block the whole page while waiting for slow data. Use React Suspense to stream HTML chunks and show loading skeletons instantly.
Day 11 β Dynamic Rendering (SSR): Real-Time Data
Sometimes Static isnβt enough. Learn how to force Dynamic Rendering for personalized dashboards, analytics, and request-time data.