SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 0 TypeScript

docs(ssr): Fix `prefetchQuery()` function calls (#6428)

This is the correct signature for [prefetchQuery](https://tanstack.com/query/v4/docs/react/reference/QueryClient#queryclientprefetchquery): 

```js
await queryClient.prefetchQuery({ queryKey, queryFn })
```

I noticed the docs were using a slightly stale signature.

^(Thank you for building an amazing library.)
S
Shahzeb K committed
377a7b19bda9a9e2fb842c8b6585bebd3b18d686
Parent: 0c097df
Committed by GitHub <noreply@github.com> on 11/24/2023, 8:43:49 AM