LogoClawIndex
CasesSkillsAbout
LogoClawIndex

clerk-react-router-patterns - React Router v7 Patterns with Clerk

Provides React Router v7 patterns for Clerk authentication including loaders, actions, middleware, SSR, and organization switching.

Tags

Updated: 2026-09-14
react-routerclerkauthenticationssrmiddleware

Capabilities

Authenticate loaders and actionsProtect routes with redirectsHandle SSR user dataImplement organization switching

Typical Inputs

React Router v7 applicationClerk React Router SDKRoute arguments and request context

Typical Outputs

Authentication status and user dataRoute redirects and HTTP responsesClerk authentication context

What this skill does

  • Authenticate loaders and actions
  • Protect routes with redirects
  • Handle SSR user data
  • Implement organization switching
  • Configure clerkMiddleware and rootAuthLoader

Inputs

  • React Router v7 application
  • Clerk React Router SDK
  • Route arguments and request context

Outputs

  • Authentication status and user data
  • Route redirects and HTTP responses
  • Clerk authentication context

Requirements

  • @clerk/react-router v3+
  • React Router v7.9+

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.