preact-scroll-viewport
preact-scroll-viewport copied to clipboard
Preact Component that renders homogeneous children only when visible
Hi! I'm using this plugin for a chat window, and I've got a list of elements (messages) that have all different sizes based on their content. When I scroll the...
I would like to filter the data based on a search string. How do we reset the list of children to the new filtered array?
I was wondering why create the array of elements in the first place. Since we are already only rendering the children in the Viewport, why construct all the elements and...
Let's say you have unique IDs (such as tweet ids), would it make sense to pass them (regarding performance)? Like so: ``` { rows.map( row => ( {row.entry} )) }...
By passing an array of heights to `rowHeight`.