You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basically, when scrolling down, it looks like the BookCard's are all being added to the dom, and never removed. Also, there is no pre-fetching of next bookcards, so scrolling is blocked for a bit while scrolling.
ideally, a few scrolls ahead (up and down) would be fetched so scrolling always has content to render.
Also, when BookCards are no longer in view, they could be removed from the DOM to prevent large lists from overwhelming a tab.
If you are using Helia and a persistent blockstore, fetching data for books (to render the BookCard) based on scroll position should be almost instant.
The text was updated successfully, but these errors were encountered:
i'm no vue expert but I think the source is here?
teatime/components/BooksList.vue
Lines 1 to 14 in 9fe5175
basically, when scrolling down, it looks like the BookCard's are all being added to the dom, and never removed. Also, there is no pre-fetching of next bookcards, so scrolling is blocked for a bit while scrolling.
ideally, a few scrolls ahead (up and down) would be fetched so scrolling always has content to render.
Also, when BookCards are no longer in view, they could be removed from the DOM to prevent large lists from overwhelming a tab.
If you are using Helia and a persistent blockstore, fetching data for books (to render the BookCard) based on scroll position should be almost instant.
The text was updated successfully, but these errors were encountered: