NomanGul/react-page-progress

Passive scroll listener

tk-o opened this issue · 2 comments

tk-o commented

Scroll event listener triggers lots of time during. Would be awesome to wrap that listener with a throttle function.

@kopacki awesome. I'll work on this.

Do you've another suggestion?

tk-o commented

Actually, one. You may want to move the source code into create-react-library, as your component is actually served as a library.