使用加载效果ReactRedux无限滚动分页 打包 // Given a component, checks if the bottom of element is reached export const isBottomOfElementReached = el => { return el . getBoundingClientRect ( ) . bottom <= window . innerHeight ; } ;