Home > @tridion-sites/extensions > QueryOptions > enabled
Set this to false
to disable automatic refetching when the query mounts or changes query keys. To refetch the query, use the refetch
method returned from the useQuery
instance. Defaults to true
.
Signature:
enabled?: boolean;