Releases: jason89521/react-infinite-scroll
v2.0.3
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
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
Support for normal tag like li
by @jason89521
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Add root
and rootMargin
to configure IntersectionObserver by @jason89521
Full Changelog: v1.2.0...v1.3.0
v1.2.0
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
v1.0.5
What's Changed
- Build simple rwd by @jason89521 in #4
- Demo by @jason89521 in #5
- Fix built page not production mode by @jason89521 in #6
Full Changelog: v1.0.4...v1.0.5
v1.0.4
v1.0.4