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

Switch to relay-style pagination #1268

Closed
kdembler opened this issue Sep 9, 2020 · 0 comments
Closed

Switch to relay-style pagination #1268

kdembler opened this issue Sep 9, 2020 · 0 comments
Assignees

Comments

@kdembler
Copy link
Member

kdembler commented Sep 9, 2020

Since it seems relay-style pagination is superior to what we're currently using and also will be supported by GraphQL framework Hydra is using we should switch to it.

As part of this task, we should do the following:

  • Rewrite app logic that handles fetched data
  • Update Apollo Client's cache behaviour (this may be the most complex part)
  • Update MirageJS logic:
    • Use the new pagination style
    • Return paginated data from the DB instead of just repeating the dataset

Reference:

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

No branches or pull requests

1 participant