Skip to content

fix: expose hasMore in offset infinite scroll query#695

Open
psteinroe wants to merge 1 commit into
mainfrom
fix/infinite-scroll
Open

fix: expose hasMore in offset infinite scroll query#695
psteinroe wants to merge 1 commit into
mainfrom
fix/infinite-scroll

Conversation

@psteinroe

Copy link
Copy Markdown
Owner
  • Add hasMore to useOffsetInfiniteScrollQuery return types and hook output
  • Keep loadMore nullable and derive availability from the hook's one-extra-row pagination state
  • Update docs to describe hasMore and clarify that loadMore() is null when no more data exists
  • Extend tests to verify hasMore toggles correctly and loadMore disappears on the last page

@changeset-bot

changeset-bot Bot commented Apr 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fc8daee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@supabase-cache-helpers/postgrest-swr Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant