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

feature request : hybrid pagination with useFind #76

Open
emmanuelgeoffray opened this issue Oct 20, 2022 · 1 comment
Open

feature request : hybrid pagination with useFind #76

emmanuelgeoffray opened this issue Oct 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@emmanuelgeoffray
Copy link

When using useFind with onServer: true, if a new item is added to server from another source, this newItem is not automagically shown.
It is listed in the store's itemsById though.

@marshallswain said

oh yes. This is by design. I might need to clarify that in the docs. When you enable server-side pagination there is no way to know where the new items fit into pagination.
Actually, this is no different than previous behavior. Do get the automagic lists, you skip the onServer: true to take control on the client again. Then call find manually or with a watcher.

I think it’s time to implement hybrid pagination. A combination of the two techniques. Outer pagination has a high limit. Inner pagination has maybe 10x smaller limit.
We can definitely make it smarter.

@marshallswain marshallswain added the enhancement New feature or request label Nov 20, 2022
@marshallswain
Copy link
Owner

Hybrid pagination is partially implemented in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants