yarn recyclerlistview 1.4.0-beta.5
Version 1.4.0-beta.5

latest releases: 4.2.0, 4.1.4, 4.1.3...
5 years ago

Improvements

  • Stable Id support: Adds getStableId(index: number): string as second param in DataProvider constructor. Significantly improves re-rendering on data set changes. Enables add/remove animations.
  • New prop optimizeForInsertDeleteAnimations forcefully unmounts removed items to kick in layout animations. Without it RLV prefers reusing the cell later. This prop requires stable ids.
  • Externalised Layout Provider: You can write your own and pass it in the same prop to RLV e.g, if you want masonry with recycling you can write it and open source yourself :)
  • SSR Fixes to allow server builds
  • onRecreate prop added which triggers a callback in case of context preservation passing necessary info like lastOffset for more optimizations in app logic.
  • Improved warning in case of missing RLV bounds
  • Warning if mounted without any data

Bug Fixes

  • #178
  • #172 Only warning for now, in next major version we'll start throwing exceptions in case RLV is mounted without data.

Don't miss a new recyclerlistview release

NewReleases is sending notifications on new releases.