Skip to content

Commit

Permalink
Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored and github-actions[bot] committed Jul 19, 2024
1 parent aa73e9d commit de91d43
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/client-react-streaming.transportedqueryref.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ Description
</td><td>
() =&gt; Promise&lt;[TransportedQueryRef](./client-react-streaming.transportedqueryref.md)<!-- -->&gt;
undefined
</td><td>
_(Optional)_ Only available in React Server Components. Will be `undefined` after being passed to Client Components.
_(Optional)_ Temporarily disabled - see https://github.com/apollographql/apollo-client-nextjs/issues/332
Returns a promise that resolves back to the `TransportedQueryRef` that can be awaited in RSC to suspend a subtree until the originating query has been loaded.
Will now be be `undefined` both in React Server Components and Client Components until we can find a better resolution.
</td></tr>
Expand Down
6 changes: 3 additions & 3 deletions docs/client-react-streaming.transportedqueryref.topromise.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

## TransportedQueryRef.toPromise property

Only available in React Server Components. Will be `undefined` after being passed to Client Components.
Temporarily disabled - see https://github.com/apollographql/apollo-client-nextjs/issues/332

Returns a promise that resolves back to the `TransportedQueryRef` that can be awaited in RSC to suspend a subtree until the originating query has been loaded.
Will now be be `undefined` both in React Server Components and Client Components until we can find a better resolution.

**Signature:**

```typescript
toPromise?: () => Promise<TransportedQueryRef>;
toPromise?: undefined;
```
6 changes: 3 additions & 3 deletions docs/experimental-nextjs-app-support.transportedqueryref.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ Description
</td><td>
() =&gt; Promise&lt;[TransportedQueryRef](./experimental-nextjs-app-support.transportedqueryref.md)<!-- -->&gt;
undefined
</td><td>
_(Optional)_ Only available in React Server Components. Will be `undefined` after being passed to Client Components.
_(Optional)_ Temporarily disabled - see https://github.com/apollographql/apollo-client-nextjs/issues/332
Returns a promise that resolves back to the `TransportedQueryRef` that can be awaited in RSC to suspend a subtree until the originating query has been loaded.
Will now be be `undefined` both in React Server Components and Client Components until we can find a better resolution.
</td></tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

## TransportedQueryRef.toPromise property

Only available in React Server Components. Will be `undefined` after being passed to Client Components.
Temporarily disabled - see https://github.com/apollographql/apollo-client-nextjs/issues/332

Returns a promise that resolves back to the `TransportedQueryRef` that can be awaited in RSC to suspend a subtree until the originating query has been loaded.
Will now be be `undefined` both in React Server Components and Client Components until we can find a better resolution.

**Signature:**

```typescript
toPromise?: () => Promise<TransportedQueryRef>;
toPromise?: undefined;
```

0 comments on commit de91d43

Please sign in to comment.