inokawa
inokawa
Just port `VirtualizerHandle.cache` and `VirtualizerProps.cache` from React adapter.
It's necessary for complex markup. Just port React or Vue implementation.
Add helper like `const GenericVList = () => VList` (or any better way) https://logaretm.com/blog/generically-typed-vue-components/
#326 Snapshot test with vitest didn't work correctly for unknown reason.
Migrating to .vue from jsx and using directives like `v-memo` for ListItem may have performance benefit.
Overscan should be lower if item size is large and should be higher if item size is small. Current default value is not suitable for some case.
It should be effective to avoid linear search and also should be small. Binary Indexed Tree might be a good choice.
DOM recycling is an optimization implemented in some of virtualization libraries. It can't be default because it will mess up order of DOM elements and [React's state](https://shopify.github.io/flash-list/docs/recycling). However in certain...