Next.js App Router: 7 Rules for cookies() and headers() Without Surprise Dynamic RoutesA practical guide to async cookies() and headers(), request-time rendering, caching boundaries, safe session handling, and testing App Router routes.4 min read·massvainotes.hashnode.dev4d ago
Next.js Middleware + Supabase Auth: A 9-Point Checklist Before You ShipShipping a Next.js app with Supabase Auth is easy until middleware, cookies, and preview URLs disagree. Use this checklist before you call an MVP "done." 1. Pick one auth cookie strategy and stick to2 min read·massvainotes.hashnode.devOct 31
Supabase RLS Checklist for AI-Built Next.js AppsBefore you ship an AI-scaffolded SaaS, verify these Row Level Security rules so users only see their own data.3 min read·massvainotes.hashnode.devOct 30
Scheduled Jobs for a Next.js + Supabase App: Vercel Cron vs pg_cron vs Edge FunctionsAlmost every real app needs something to run on a timer: delete expired sessions, send a daily digest, retry failed webhooks, recompute a leaderboard. If your stack is Next.js on Vercel with Supabase5 min read·massvainotes.hashnode.devOct 17
Next.js App Router Caching with Supabase: 6 Rules to Avoid Stale (or Someone Else's) DataThe App Router caches aggressively, and Supabase queries are just fetch calls underneath. Put the two together without a plan and you get the classic bugs: a dashboard that shows yesterday's numbers,4 min read·massvainotes.hashnode.devOct 17