-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Cursor-based pagination loads duplicate results #90
Comments
how did you do this? i cant find anything in the docs for ember-infinity. |
@UnifiedInc This is still an open issue pending merge of #77 , at which time we'll add documentation illustrating its use. Fear not - the solution is very close at hand. |
closed with #105 |
Repro:
Result: The first page of results is rendered twice.
Although the page number is incremented, the updateInfinityModel method is not called on the first page load, and the infinityModelUpdated hook is only called afterRender and thus after the second page load is already triggered. Therefore, any params necessary for the query besides the page number have not been updated since the first page was loaded.
The text was updated successfully, but these errors were encountered: