As per the documentation of MRT's Infinite Scroll , it's using tanstack query with useInfiniteQuery to call api. I tried to replicate the same but we are using RTK query and that couldn't be called inside a queryFn. Is it possible to use RTK query for infinite scrolling in MRT? If so kindly share some examples.
Do you mean Material React Table when you say MRT? Please create a new issue in the Material React Table repository instead: Material React Table repository not here.
As per the documentation of MRT's Infinite Scroll , it's using tanstack query with useInfiniteQuery to call api. I tried to replicate the same but we are using RTK query and that couldn't be called inside a queryFn. Is it possible to use RTK query for infinite scrolling in MRT? If so kindly share some examples.
Search keywords: