Releases: civiccc/react-waypoint
Releases · civiccc/react-waypoint
v7.3.0
v7.2.0
v7.1.0
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
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>
hasoverflow: auto|scroll
- Restrict lower bound of React to v0.14.9
v6.0.0
- Add
prop-types
as a peer dependency to remove deprecation warnings when
running on React 15.5
v5.3.1
- Remove the
prop-types
peer dependency. This was an accidental breaking
change that will instead be released as 6.0.0.