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

CardView Virtualization #69

Open
JorgeRuizDev opened this issue Jan 1, 2022 · 0 comments
Open

CardView Virtualization #69

JorgeRuizDev opened this issue Jan 1, 2022 · 0 comments
Assignees
Labels

Comments

@JorgeRuizDev
Copy link
Owner

The card view seems a little bit too heavy for modern browsers.

Som webpages (Like Twitter), umount the tweets you have already seen from the DOM as you scroll, saving resources.

Virtualization is a very simple technique to implement in views containing list items where we know the height of each item and the total number of items.

In the case of our view, the number of cards we have in each row is dynamically calculated based on the width of the screen, so we must create rows dynamically, which forces us to change the entire element rendering system in the view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant