invertase / invertase/tanstack-query-firebase
pass useInfiniteQueryOptions to useInfiniteQuery
Open
react-query-firebase
- Dominant language
- TypeScript
- Stars
- 462
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
I believe that the `useInfiniteQueryOptions` are not being passed down from `useFirestoreInfiniteQuery` and `useFirestoreInfiniteQueryData` to the underlying `useInfiniteQuery` call?
The other query methods like `useFirestoreQuery` do seem to pass down the options like `useQueryOptions`.
I made a pull request to be able to set `getPreviousPageParam` https://github.com/invertase/react-query-firebase/pull/40 but honestly I don't know TypeScript well enough to get it to pass the rest of the options correctly so was hoping to get some help there.
Contributor guide
Assessment
This issue has not been assessed yet.