Skip to content

Releases: civiccc/react-waypoint

v7.3.0

03 Oct 23:57
Compare
Choose a tag to compare
  • Build with rollup.
  • Add an ES module build.

v7.2.0

02 Oct 20:02
Compare
Choose a tag to compare
  • Allow React 16 as a peerDependency.
  • Remove scrollableParent prop check error.

v7.1.0

31 Aug 13:53
Compare
Choose a tag to compare

This minor release adds support for using composite components as children. Just make sure you make use of the innerRef prop passed to you from Waypoint:

class Block extends React.Component {
  render() {
    return <div ref={this.props.innerRef}>Hello</div>
  }
}
Block.propTypes = {
  innerRef: PropTypes.func.isRequired,
}

const App = () => (
  <Waypoint>
    <Block />
  </Waypoint>
)

v7.0.0

05 May 10:03
Compare
Choose a tag to compare

This major release does not contain any new functionality, but we've changed and moved react and prop-types dependencies which may result in the release breaking some apps. Hence the major release number bump.

  • Move prop-types to a regular dependency
  • Assume window as scrollable ancestor when <body> has overflow: auto|scroll
  • Restrict lower bound of React to v0.14.9

v6.0.0

11 Apr 19:33
Compare
Choose a tag to compare
  • Add prop-types as a peer dependency to remove deprecation warnings when
    running on React 15.5

v5.3.1

11 Apr 18:40
Compare
Choose a tag to compare
  • Remove the prop-types peer dependency. This was an accidental breaking
    change that will instead be released as 6.0.0.

v5.3.0

11 Apr 07:17
Compare
Choose a tag to compare
  • Remove deprecation warnings when running on React 15.5
  • Add React 14 to Travis test suite.

v5.2.1

29 Mar 14:50
Compare
Choose a tag to compare
  • [Fix] Avoid unnecessary clearTimeout when unmounting.

v5.2.0

15 Mar 22:06
Compare
Choose a tag to compare
  • [New] scrollableAncestor prop can now accept "window" as a string. This should help with server rendering.
  • Debug code is now minified out in production build.

v5.1.0

13 Feb 23:10
Compare
Choose a tag to compare
  • Waypoint can now accept children.