npm react-viewport-list 6.0.0

latest releases: 7.1.2, 7.1.1, 7.1.0...
3 years ago

This release has several improvements. itemMinSize and margin props now is not required and compute automatically (to avoid this behaviour you should specify this props). Item margin can be different. ViewportList can work without size cache (to avoid container height cap) for rendering million+ items.

Breaking

  • fixed is deleted
  • margin default value is -1

Features

  • new withCahce prop

Updates

  • itemMinSize prop now is extimated item size

Migration

  • remove fixed prop if you use it
  • If you directly set margin={0}, then better to remove margin prop.
  • If you use itemMinSize as exactly min size (not estimated size), then better to remove itemMinSize prop.

Don't miss a new react-viewport-list release

NewReleases is sending notifications on new releases.