Now, when moving from not using the window as scroll container to using the window as scroll container, we will subscribe to the new scroll listener.
A more comprehensive fix for this will be in the works.
🚀 The only feature change in this release is removing a prop we deprecated in 0.6.0. Many improvements have been made to the code to bring it towards modern (i.e. 2017 instead of 2016) frontend practices, although there is more work to be done on this front.
🚚 The peer dependency on
create-react-classhas been removed, which should lead to some minor space savings. For people who use the built
react-infinitebundles, minified bundle size should be cut to 20kb (from 37kb) after removing some unnecessarily included peer dependencies.
- 🚚 Moves from
createClassto ES2015 class
- ➕ Adds
- ⚡️ Upgrades
jestto version 20, begins usage of
enzyme, and updates to snapshot tests
- ⚡️ Updates types
- 🔄 Changes travis settings and sets up a cache for
- ✅ Implements very basic browser testing on Cypress
- 🚚 Permanently removes
infiniteLoadBeginBottomOffset, deprecated since 0.6.0
- 🚚 Moves from
This includes a safer method of dealing with the non-existence of
⬆️ We have also upgraded Flow to 0.52.0.
When rendering React Infinite server-side,
global.windowwill now be defined so that
useWindowAsScrollContainercan be used.
🚀 In React 15.5 access to
Reactwere deprecated. This release fixes those deprecation warnings.
v0.10.0October 04, 2016
🐎 This update improves performance slightly by using a cached version of the number of children rather than using
React.childrento count the number of children each time.