7 ms·
Hi OP! Thanks for sharing. I don’t totally understand the point of this. Why would you want to use a Canvas renderer for this use case? If you want to render a
by Jaxkr 1y ago
Hi OP! Thanks for sharing.
I don’t totally understand the point of this. Why would you want to use a Canvas renderer for this use case? If you want to render a massive table, apps will render a subset of it on regular HTML elements like EveryUUID [1].
1: https://news.ycombinator.com/item?id=42342382 https://news.ycombinator.com/item?id=42342382
- sroussey 1y agoFrom the introduction: uWrap exists to efficiently predict varying row heights for list and grid virtualization[1], a technique for UI performance optimization when rendering large, scrollable datasets. [1] https://www.patterns.dev/vanilla/virtual-lists/ https://www.patterns.dev/vanilla/virtual-lists/
- kevlened 1y agoEveryUUID's virtual grid can assume every cell is the same height, but it's much more difficult if you assume cells have wrapped text. This is further complicated if you allow grid resizing.
- bufferoverflow 1y agoWhat if you have to display it in a webgl environment?