usePrefetchQuery(options)usePrefetchQuery(options)Options
You can pass everything tousePrefetchQuery that you can pass toqueryClient.prefetchQuery. Remember that some of them are required as below:
queryKey: QueryKey
queryFn: (context: QueryFunctionContext) => Promise<TData>
Returns
TheusePrefetchQuery does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that usesuseSuspenseQuery.