Skip to content

Commit ede9feb

Browse files
docs
1 parent 11389b8 commit ede9feb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/client.svelte.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ type UseQueryReturn<Query extends FunctionReference<'query'>> =
5050
// Note that swapping out the current Convex client is not supported.
5151
/**
5252
* Subscribe to a Convex query and return a reactive query result object.
53-
* Pass in a reactive args object or a closure returning args to update args reactively.
53+
* Pass reactive args object or a closure returning args to update args reactively.
5454
*
5555
* @param query - a FunctionRefernece like `api.dir1.dir2.filename.func`.
5656
* @param args - The arguments to the query function.
57+
* @param options - UseQueryOptions like `initialData` and `keepPreviousData`.
5758
* @returns an object containing data, isLoading, error, and isStale.
5859
*/
5960
export function useQuery<Query extends FunctionReference<'query'>>(

0 commit comments

Comments
 (0)