Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pagination data utils #9452

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

feat: pagination data utils #9452

wants to merge 7 commits into from

Conversation

runspired
Copy link
Contributor

@runspired runspired commented May 22, 2024

This PR introduces a suite of data-utilities for pagination to go along with PromiseState / <Await /> and RequestState / <Request />

Docs (in PR)


Implementation Tracking

  • <:idle>
  • PaginationState
  • getPaginationState
  • <Paginated />
  • <EachLink />

Below the Line Features

(features we intend to bake into these primitives but may not be added in this PR)

  • PaginationState
    • Reload Strategy
    • SelectionState
    • Local state
    • Commit Changes

Note

We do not intend for <Paginate /> to be used to manage Tree and LinkedList
structures, which inherently have different requirements around async loading
and pagination. We are planning a separate suite of data-utils for these structures
in the near future.

@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature
Projects
Status: in progress
Development

Successfully merging this pull request may close these issues.

1 participant