Skip to content

Releases: jason89521/react-infinite-scroll

v2.0.3

Choose a tag to compare

@jason89521 jason89521 released this 15 Apr 05:18

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

Choose a tag to compare

@jason89521 jason89521 released this 17 Mar 16:49
280f418

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

Choose a tag to compare

@jason89521 jason89521 released this 27 Feb 16:43

Support for normal tag like li by @jason89521

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

v1.3.0

Choose a tag to compare

@jason89521 jason89521 released this 27 Feb 16:32

Add root and rootMargin to configure IntersectionObserver by @jason89521

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

v1.2.0

Choose a tag to compare

@jason89521 jason89521 released this 25 Feb 08:23

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

Choose a tag to compare

@jason89521 jason89521 released this 23 Feb 08:44

What's Changed

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

v1.0.5

Choose a tag to compare

@jason89521 jason89521 released this 21 Feb 01:50

What's Changed

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

v1.0.4

Choose a tag to compare

@jason89521 jason89521 released this 20 Feb 13:42
v1.0.4