Labs Feedback: @lit-labs/virtualizer #3362
justinfagnani
announced in
Labs Feedback
Replies: 2 comments 1 reply
-
I'm evaluating using this for my BlueSky client, in which I have infinitely scrolling lists of social media posts. There are a few issues that can not be resolved with the current API:
Other than that it has been extremely easy to swap out my old virtualization "solution" with lit-virtualizer and I was surprised that it just worked (minus the issues above). Great stuff! |
Beta Was this translation helpful? Give feedback.
1 reply
-
We are using the virtualizer in a product. Here are a couple of things that we encountered:
Great work though! Thanks! cc @graynorton |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
@lit-labs/virtualizer
package provides viewport-based virtualization (including virtual scrolling) for Lit.A virtualizer is an element that renders its own children, applying the provided
renderItem
template function to each item in the provideditems
array.Instead of immediately rendering a child element for every item in the array, a virtualizer renders only enough elements to fill the viewport. As the viewport scrolls or resizes, the virtualizer automatically removes elements that are no longer visible and adds elements that have come into view.
We want to collect your feedback on your experiences with
@lit-labs/virtualizer
as we iterate on it according to our Lit Labs process and move the package towards possible graduation or retirement.Please try
@lit-labs/virtualizer
and tell us about your experience. Leave comments with your thoughts; highlight what issues or missing features you're blocked on; give a link to a project that uses it; etc.And so we can have some numbers to look at, you can add reactions to this comment to indicate your experience with this package:
🚀 I have tried this package and it works great. I need it. Ship it!
👍 I have tried this package and it seems like a good idea.
😕 I have tried this package and would use it, but it has serious bugs or missing features.
👀 I am interested, but haven't tried the package yet.
👎 I'm not interested in this package.
Note: other reactions like 😄, 🎉, and ❤️ don't mean anything as part of this scheme. You probably mean, and please use, 🚀, 👍, or 👀.
Beta Was this translation helpful? Give feedback.
All reactions