Clerk React Router Patterns

React Router v7/v8 patterns with Clerk — rootAuthLoader, getAuth in loaders, clerkMiddleware, protected routes, SSR user data, org switching. Triggers on: react-router auth, rootAuthLoader, getAuth loader, react-router protected route, loader authentication, SSR auth react-router, useNavigate may be used only in the context of a Router.

clerk Updated

File contents

clerk/skills commit 1647cd89bc

Frequently asked questions

npx get-skill add clerk/clerk-react-router-patterns