Home > @tridion-sites/extensions > QueryOptions > refetchOnMount
If set to true
, the query will refetch on mount if the data is stale. If set to false
, will disable additional instances of a query to trigger background refetches. If set to 'always'
, the query will always refetch on mount. Defaults to true
.
Signature:
refetchOnMount?: boolean | 'always';