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.
Senior Software Engineer · React, Next.js, React Native · Building Masareef & Rafiq
Senior Software Engineer with 6+ years building web and mobile products in React, Next.js and React Native. I build and ship Masareef and Rafiq on my own. Originals live at mohamedgado.com/writing.
Markdown supported · ⌘↵ to post
No responses yet.