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

[Paginated table] increase active chunks count #1372

Open
artemmufazalov opened this issue Sep 27, 2024 · 0 comments
Open

[Paginated table] increase active chunks count #1372

artemmufazalov opened this issue Sep 27, 2024 · 0 comments

Comments

@artemmufazalov
Copy link
Member

artemmufazalov commented Sep 27, 2024

PaginatedTable loads and renders 150% of parent container height. It's 2-3 chunks, 100-150 row.

We need to increase this amount - 2 chunks up and down from the chunk in the viewport, to prevent loading rows on scroll.

  1. Increase intersection margin - DEFAULT_INTERSECTION_OBSERVER_MARGIN
  2. Tune DEBOUNCE_TIMEOUT, so it will be as low as possible, but at the same time no excessive data will be loaded on fast scroll
  3. Add virtualization - load data, but do not render rows, until they are visible
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

No branches or pull requests

1 participant