Closed
Description
https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5
Seems like the only change for us is to use the object format everywhere ref
- useQuery(key, fn, options)
+ useQuery({ queryKey, queryFn, ...options })
This seems to be compatible with @tanstack/react-query@v4 so we can do this without it being a breaking change.