My 2023 Clerk demo guarded every route from authMiddleware. What replaced it in Next.js 16: clerkMiddleware() in proxy.ts and auth.protect() per page.
Staff Software Engineer · React, Next.js, React Native · Building Masareef, Rafiq & Nafis
Staff Software Engineer, 6+ years. I build React, Next.js, React Native and TypeScript apps for fintech and Arabic users, including Masareef, Rafiq and Nafis. Originals live at mohamedgado.com/writing.
Markdown supported · ⌘↵ to post
No responses yet.