You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optional queryClient parameter is missing in generated hooks. In all versions of TanStack v5, the query hook takes two parameters:QueryOptions and QueryClient.
What is the problem this feature would solve?
The optional queryClient parameter is missing in generated hooks. In all versions of TanStack v5, the query hook takes two parameters:
QueryOptions
andQueryClient
.https://tanstack.com/query/v5/docs/framework/vue/reference/useQuery
https://tanstack.com/query/v5/docs/framework/svelte/reference/functions/createquery
https://tanstack.com/query/v5/docs/framework/react/reference/useQuery
This is critical when using the generated hooks outside of component contexts and, in my opinion, should be included in the generated code by default.
External documents/projects?
No response
What is the feature you are proposing to solve the problem?
No response
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: