Skip to content

Commit

Permalink
fix: Add "Next steps" to React Router quickstart (#1874)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Aguilar <[email protected]>
  • Loading branch information
LekoArts and alexisintech authored Jan 10, 2025
1 parent a653b0b commit ae9551a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/quickstarts/react-router.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ description: Learn how to use Clerk to quickly and easily add secure authenticat
- Add `<ClerkProvider>` and Clerk components
</TutorialHero>

Clerk's [React Router SDK](/docs/references/react-router/overview) provides prebuilt components, hooks, and stores to make it easy to integrate authentication and user management in your React Router app. This guide assumes that you're using [React Router v7 or later](https://api.reactrouter.com/v7).
Clerk's [React Router SDK](/docs/references/react-router/overview) provides prebuilt components, hooks, and stores to make it easy to integrate authentication and user management in your React Router app.

This guide assumes that you're using [React Router v7 or later](https://api.reactrouter.com/v7) in framework mode. To use React Router as a library instead, see the [library mode guide](/docs/references/react-router/library-mode).

> [!WARNING]
> Due to an active [issue with React Router](https://github.com/remix-run/react-router/issues/12475), Clerk and React Router currently requires using Node.js 22.11 or lower.
Expand Down Expand Up @@ -221,3 +223,20 @@ Clerk's [React Router SDK](/docs/references/react-router/overview) provides preb

Visit your app's homepage at [`http://localhost:5173`](http://localhost:5173). Sign up to create your first user.
</Steps>

## Next steps

<Cards>
- [Add custom sign-up and sign-in pages](/docs/references/react-router/custom-signup-signin-pages)
- Learn how to add custom sign-up and sign-in pages to your React Router app with Clerk's prebuilt components.

---

- [Read session and user data](/docs/references/react-router/read-session-data)
- Learn how to use Clerk's hooks and helpers to access the active session and user data in your React Router app.

---

- [Library mode](/docs/references/react-router/library-mode)
- Learn how to use Clerk with React Router in library mode to add authentication to your application.
</Cards>

0 comments on commit ae9551a

Please sign in to comment.