Free vs Pro Feature Gating in Next.js App Router (2026): Pages, Server Actions, and API Routes
How to gate Pro features in Next.js App Router: a requirePro() helper, Server Action and API route checks, plans read from your DB, and why proxy-only checks fail.


