Skip to content

Releases: jason89521/react-infinite-scroll

v2.0.3

15 Apr 05:18
Compare
Choose a tag to compare

In the previous version, I use children.length to get the number of child, but this approach will fail when the children is not a 1d array. In the new version, I use React.Children.toArray to get a 1d array of the children such that InfiniteScroll can deal with children like normal React.Element

Full Changelog: v2.0.0...v2.0.3

v2.0.0

17 Mar 16:49
280f418
Compare
Choose a tag to compare

What's Changed

Now InfiniteScroll component accepts children directly instead of using Item and itemData.

Full Changelog: v1.3.1...v2.0.0

v1.3.1

27 Feb 16:43
Compare
Choose a tag to compare

Support for normal tag like li by @jason89521

Full Changelog: v1.3.0...v1.3.1

v1.3.0

27 Feb 16:32
Compare
Choose a tag to compare

Add root and rootMargin to configure IntersectionObserver by @jason89521

Full Changelog: v1.2.0...v1.3.0

v1.2.0

25 Feb 08:23
Compare
Choose a tag to compare

What's Changed

Add reverse property to InfiniteScroll
Add useScrollToOld to scroll to the original position

Full Changelog: v1.1.0...v1.2.0

v1.1.0

23 Feb 08:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.5...v1.1.0

v1.0.5

21 Feb 01:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.4

20 Feb 13:42
Compare
Choose a tag to compare
v1.0.4