Releases: civiccc/react-waypoint
Releases · civiccc/react-waypoint
v10.1.0
- Classes are now compiled in loose mode, which should improve runtime performance.
- Babel helpers now import from
@babel/runtime
instead of being inlined, which reduces bundle size.
v10.0.0
- [Breaking] Remove
Waypoint.getWindow()
- Support React 17
v9.0.1
- Fix export in TypeScript types (#298)
- Update babel 6 -> 7, rollup 0 -> 1 (#301)
v9.0.0
- [Breaking] Require React 15.3+
- [Breaking] Make Waypoint a named export instead of default export
- Change constants into named exports for better minification
- Fix removing propTypes in production builds
- Ensure that children is valid only in dev
- Fix isForwardRef call
v8.1.0
- Improve support for refs (#278)
- Don't include
.babelrc
in published npm package (#270)
v8.0.3
- Defer
handleScroll
in componentDidUpdate
(#265)
- Extend
React.PureComponent
instead of React.Component
when available (#264)
v8.0.2
- Allow consolidated-events ^2.0.0 (#256)
- Add message to better understand logged error message in tests (#255)
v8.0.1
Bugfix for incorrect TypeScript definition.
v8.0.0
This major release makes react-waypoint have a smaller footprint in consumer bundles. It's pushed as a major release because of a potentially breaking change in how we expose the es module in package.json.
Full list of changes:
- Add es module entry point in package.json
- Type Waypoint class properties as static
- Let proptypes be removable in consumers production bundles
Thanks to @Andarist and @cecchi for all the changes!
v7.3.1
- Make es module opt-in (via
import Waypoint from 'react-waypoint/es'
)