Skip to content

Commit 6c4efe6

Browse files
committed
Cap R for Realtime
1 parent e6ee0c1 commit 6c4efe6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/realtime/react-hooks/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ We provide several categories of hooks:
6464

6565
## SWR vs Realtime hooks
6666

67-
We offer two "styles" of hooks: SWR and Realtime. The SWR hooks use the [swr](https://swr.vercel.app/) library to fetch data once and cache it. The Realtime hooks use [Trigger.dev realtime](/realtime) to subscribe to updates in real-time.
67+
We offer two "styles" of hooks: SWR and Realtime. The SWR hooks use the [swr](https://swr.vercel.app/) library to fetch data once and cache it. The Realtime hooks use [Trigger.dev Realtime](/realtime) to subscribe to updates in real-time.
6868

6969
<Note>
7070
It can be a little confusing which one to use because [swr](https://swr.vercel.app/) can also be

docs/realtime/react-hooks/subscribe.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebarTitle: Subscribe
44
description: Get live updates from runs, batches, metadata, and more in your frontend application.
55
---
66

7-
These hooks allow you to subscribe to runs, batches, and streams using [Trigger.dev realtime](/realtime). They automatically include real-time updates for run status, metadata, output, and other properties.
7+
These hooks allow you to subscribe to runs, batches, and streams using [Trigger.dev Realtime](/realtime). They automatically include real-time updates for run status, metadata, output, and other properties.
88

99
## Hooks
1010

docs/realtime/react-hooks/triggering.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ submit({ foo: "bar" }, { tags: ["tag1", "tag2"] });
6969

7070
#### Using the handle object
7171

72-
You can use the `handle` object to initiate a subsequent [realtime hook](/realtime/react-hooks/subscribe#userealtimerun) to subscribe to the run.
72+
You can use the `handle` object to initiate a subsequent [Realtime hook](/realtime/react-hooks/subscribe#userealtimerun) to subscribe to the run.
7373

7474
```tsx
7575
"use client"; // This is needed for Next.js App Router or other RSC frameworks
@@ -135,7 +135,7 @@ export function MyComponent({ publicAccessToken }: { publicAccessToken: string }
135135
return <div>Error: {error.message}</div>;
136136
}
137137

138-
// This is the realtime run object, which will automatically update when the run changes
138+
// This is the Realtime run object, which will automatically update when the run changes
139139
if (run) {
140140
return <div>Run ID: {run.id}</div>;
141141
}

0 commit comments

Comments
 (0)