React Cool Virtual Versions Save

😎 ♻️ A tiny React hook for rendering large datasets like a breeze.

v0.5.0

2 years ago
  • Feat: support dynamic stickyIndices, thanks to @nikitapilgrim ( #231 )

v0.4.6

2 years ago

Patch Changes

v0.4.5

2 years ago
  • docs(README): correct and refine API section

v0.4.4

2 years ago

Patch Changes

  • #183 737996f Thanks @wellyshen! - fix: correct the initial e.userScroll of loadMore callback from true to false

v0.4.3

2 years ago

Patch Changes

v0.4.2

2 years ago

Patch Changes

  • #173 70d04ac Thanks @wellyshen! - perf(useVirtual): mutate inner element styles only when items are updated

v0.4.1

2 years ago

Patch Changes

  • #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

v0.4.0

2 years ago

✨ New Feature

  • Feat(useVirtual): add resetScroll option for you to handle filtering without hassle. ( #147 #139 )

v0.3.1

2 years ago

Patch Changes

v0.3.0

2 years ago

✨ New Feature

🏄🏼‍♂️ Refactor

  • Refactor: optimize the UX of scrollDuration for smooth scrolling, from a fixed variable to 100ms <= distance * ratio <= 500ms

🐛 Bug Fixings

  • Fix: scrollToItem with center alignment causes infinite loop (#141 99ffe72)

  • Fix: scrollToItem causes empty rows (#139 5bdfbb2)