UNPKG

react-scrollsyx

Version:

An ambitious light-weight react module written in TypeScript for tracking scroll progress in a performant way. Developed for use with spring based animation libraries such as react-spring, but can be used with or without any library.

31 lines (22 loc) 847 B
### History All versions before 1.1.7 are listed here, check out the "releases" on the github repository to view history after that point. ##### Version 1.1.6 - [x] Improved type declarations - [x] Minor changes to some examples ##### Version 1.1.5 - [x] Updated the readme with use examples for Next.js ##### Version 1.1.4 - [x] Added server side rendering for use with Next.js and such ##### Version 1.1.3 - [x] Bugfix, incorrect height calculation after adding triggers ##### Version 1.1.2 - [x] Triggers added, onEnter/onLeave - [x] Examples update with the use of triggers ##### Version 1.1.1 - [x] Readme repo url added - [x] package.json repo url added ##### Version 1.1 - [x] You can now throttle the scrolling events - [x] resizeThrottle is no longer required ##### Version 1.0 - [x] Initial release