What would be the best way to handle paginations and filtering - TanStack