API reference · generated from source
Interface: IPreloadedQueryNodeOptions<Query>#
Defined in: packages/retree-react-convex/src/preload.ts:15
ConvexQueryNode constructor options derived from a Next.js
preloadQuery payload.
Type Parameters#
| Type Parameter |
|---|
Query extends QueryReference |
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
args | FunctionArgs<Query> | Query arguments the server component ran the query with. | packages/retree-react-convex/src/preload.ts:19 |
initialState | FunctionReturnType<Query> | Server-fetched query result, exposed as state (with result.status === "success") until the live subscription emits. | packages/retree-react-convex/src/preload.ts:24 |