The GraphQL query document.
Optionaloptions: LazyQueryHookOptions<NoInfer<TData>, NoInfer<TVariables>>Options to be passed to the useLazyQuery hook.
OptionalupdateEvent: 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