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

Virtual list for entity lists in catalog mode #302

Open
NoopDog opened this issue Jul 26, 2023 · 0 comments
Open

Virtual list for entity lists in catalog mode #302

NoopDog opened this issue Jul 26, 2023 · 0 comments
Assignees

Comments

@NoopDog
Copy link
Member

NoopDog commented Jul 26, 2023

Need

Currently, in catalog mode, we draw all rows of the current result set on the screen. This could result in us displaying hundreds or thousands of rows beyond the bottom of the user's screen. Instead of this, we can make the catalog list only the results that are on the user's viewport, making the update once filters are applied much faster.

Approach

Look at https://tanstack.com/virtual/v3

And the code example here
https://codesandbox.io/p/sandbox/github/tanstack/table/tree/main/examples/react/virtualized-rows?embed=1&file=%2Fsrc%2Fmain.tsx%3A91%2C63

(I had to use Firefox to get the above to work)

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

2 participants