zodios-react
zodios-react copied to clipboard
chore: update to @tanstack/react-query v5
Fix #459
Hi, So I update the usage of @tanstack/react-query in react-zodios. But I would like to highlight some changes that may require some changes in the Types of Zodios itself :
For useInfiniteQuery & useImmutableInfiniteQuery the third argument (queryOptions) is actually required because of "getPageParamList", "initialPageParam" and "getNextPageParam", but the types is marked as optional.
I think it was already the case before but I had to changes the spec to make Typescript happy about it.
@ecyrbe Hello, when can this PR be merged?