The GraphQL query document.
Optional
options: LazyQueryHookOptions<NoInfer<TData>, NoInfer<TVariables>>Options to be passed to the useLazyQuery hook.
Optional
updateEvent: string = 'set'The event name that triggers a rerender
The sync state object.
useSyncQuery is a hook that wraps the query hook from Apollo Client, and adds state management and event handling.
See
Example