You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuses existing `Auth` object from the server handler when using `getAuth()`
6
+
7
+
The `createClerkHandler` helper now returns a Promise and requires awaiting during setup to ensure authentication context is available at the earliest possible point in the request lifecycle, before any router loaders or server functions execute
Copy file name to clipboardExpand all lines: packages/tanstack-react-start/README.md
+4-113Lines changed: 4 additions & 113 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,122 +41,13 @@
41
41
42
42
### Installation
43
43
44
-
```sh
45
-
npm install @clerk/tanstack-react-start
46
-
```
44
+
The fastest way to get started with Clerk is by following the [TanStack React Start Quickstart](https://clerk.com/docs/quickstarts/tanstack-react-start?utm_source=github&utm_medium=clerk_tanstack_react_start).
45
+
46
+
You'll learn how to install `@clerk/tanstack-react-start`, set up your environment keys, configure `createClerkHandler` and protect your pages.
47
47
48
48
## Usage
49
49
50
-
Make sure the following environment variables are set in a `.env` file:
51
-
52
-
```sh
53
-
CLERK_PUBLISHABLE_KEY=pk_test_xxx
54
-
CLERK_SECRET_KEY=sk_test_xxx
55
-
```
56
-
57
-
You can get these from the [API Keys](https://dashboard.clerk.com/last-active?path=api-keys) screen in your Clerk dashboard.
58
-
59
-
To initialize Clerk with your TanStack Start application, you will need to make one modification to `app/routes/_root.tsx`. Wrap the children of the `RootComponent` with `<ClerkProvider/>`
For further information, guides, and examples visit the [TanStack React Start reference documentation](https://clerk.com/docs/references/tanstack-react-start/overview?utm_source=github&utm_medium=clerk_tanstack_react_start).
0 commit comments