Not too sure what this should look like yet but having helpers ready to go for different pagination scenarios would be nice
could do basic pagination with just useQuery passing pages in (probably another hook which tracks pages etc)
and another hook which uses useInfiniteQuery to support infinite scrolling
would need to support both cursor and simple pagination
Not too sure what this should look like yet but having helpers ready to go for different pagination scenarios would be nice
could do basic pagination with just useQuery passing pages in (probably another hook which tracks pages etc)
and another hook which uses useInfiniteQuery to support infinite scrolling
would need to support both cursor and simple pagination