😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
stickyIndices
, thanks to @nikitapilgrim ( #231 )737996f
Thanks @wellyshen! - fix: correct the initial e.userScroll
of loadMore
callback from true
to false
#181 44769e5
Thanks @wellyshen! - refactor: simplify generic type setup, see the example
#179 41ab2a7
Thanks @wellyshen! - fix: scrollToItem
width dynamic size causes infinitely loop
70d04ac
Thanks @wellyshen! - perf(useVirtual): mutate inner element styles only when items are updated#155 72f2a6c
Thanks @wellyshen! - perf(useVirtual): remove unnecessary internal useDebounce
for reducing bundle size
#154 abc5880
Thanks @wellyshen! - fix(useVirtual): do not trigger onScroll
and loadMore
by internally scroll-to method
distance
parameter for scrollDuration option (#142 b1f96f3
)scrollDuration
for smooth scrolling, from a fixed variable to 100ms <= distance * ratio <= 500ms