Skip to content

Improve rendering performance of search results #52

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

Merged
merged 8 commits into from
Oct 30, 2024

Conversation

brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Oct 26, 2024

This PR improves the perf of the search result list, resulting in a ~10x speedup for search results to render. This is achieved using react-virtual, which allows us to only render the portion of the list that is visible (plus some buffer).

@brendan-kellam brendan-kellam force-pushed the bkellam/virtual_scrolling branch from 67a3413 to a5e0fcf Compare October 28, 2024 17:24
Base automatically changed from bkellam/filtering to main October 28, 2024 17:30
@brendan-kellam brendan-kellam force-pushed the bkellam/virtual_scrolling branch from a5e0fcf to 3f231b3 Compare October 28, 2024 17:32
@brendan-kellam brendan-kellam changed the title [wip] list virtualization Improve rendering performance of search results Oct 29, 2024
@brendan-kellam brendan-kellam marked this pull request as ready for review October 29, 2024 07:14
@brendan-kellam brendan-kellam force-pushed the bkellam/virtual_scrolling branch from c318353 to 719448f Compare October 29, 2024 22:26
@msukkari msukkari self-requested a review October 30, 2024 16:21
msukkari
msukkari previously approved these changes Oct 30, 2024
@brendan-kellam brendan-kellam merged commit e913b22 into main Oct 30, 2024
1 check passed
@brendan-kellam brendan-kellam deleted the bkellam/virtual_scrolling branch October 30, 2024 16:32
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

Successfully merging this pull request may close these issues.

2 participants