An error occurred while fetching this tab.
Code Insights: Render insight that are rendered in visible viewport area
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: vovakulikov
Prior to this PR, we render all insights on the page that were ever visible. So for example, if we have 100 insights on the page and only 10 of them are visible, during user scrolling we will render more and more elements on the page (10, 12, 15, 20 ....) at the end we will render all insights.
In this PR we use intersection observer information to track insight cards that are visible so we always will have approximately the same number of rendered insight cards on the page.
Check out the client app preview documentation to learn more.
Push commits to the source branch or add previously merged commits to review them.