Wire up Clerk auth in React Router v7

Shows the exact rootAuthLoader, loader patterns, and protected-route setup to get Clerk working with React Router v7, including SSR user data and org switching.

Best for: Engineers building a React Router app who need Clerk auth without the trial-and-error.

Engineering / planning-thinkingatomicfor-engineersno-setupfrom-repo

Source

Creator's repository · clerk/skills

View on GitHub

License: MIT

Security

Verified — safe to install
Passed all 3 independent security checks
Checked by 3 independent security firms
Does it try to trick the AI?NoSAFE · Gen Agent Trust Hub
Does it sneak in hidden code?NoNo alerts · Socket
Does it have known bugs?NoLow risk · Snyk