Đi tới nội dung chính
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn và đang được hiển thị bằng tiếng Anh.

Clerk React Router Patterns

Skill Đã xác minh
98
Thuộc:Clerk Skills

React Router v7 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.

Tóm tắt từ AI

This extension demonstrates how to implement various authentication patterns using Clerk within a React Router v7 application, covering setup in root components, loaders, actions, client-side hooks, and server-side rendering. It includes detailed code snippets and explanations for protecting routes, managing user sessions, and handling organization switching.

Cài đặt

Hãy thêm marketplace trước

/plugin marketplace add clerk/skills
/plugin install frameworks@clerk-skills
2 days ago
40 stars
MIT
Cập nhật 2 days ago
Xem mã nguồn