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

Optimize rendering and scrolling behavior of Feed #7101

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

philippjfr
Copy link
Member

Feed now has an optimized rendering pipeline. Since the majority of changes in the children of a Feed are either pre-pending or appending, we provide an optimized codepath that avoids removing and readding items to the DOM. We also optimize the scrolling to offset the user relative to the most recent reference.

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.28%. Comparing base (4c49251) to head (939588e).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7101      +/-   ##
==========================================
+ Coverage   82.23%   82.28%   +0.04%     
==========================================
  Files         326      326              
  Lines       48586    48586              
==========================================
+ Hits        39955    39978      +23     
+ Misses       8631     8608      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@philippjfr philippjfr merged commit c255c6d into main Aug 8, 2024
16 checks passed
@philippjfr philippjfr deleted the feed_optimize_render branch August 8, 2024 08:49
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.

1 participant