react-onscroll-hoc

A React HoC component for create onScroll-aware components

Usage no npm install needed!

<script type="module">
  import reactOnscrollHoc from 'https://cdn.skypack.dev/react-onscroll-hoc';
</script>

README

React onScroll HoC

A React HoC component for create onScroll-aware components

A WIP project ...

Troubleshooting

If your component isn't working the way you expect it to. Clone and modify the project locally.

  • clone this repo
  • add console.log or breakpoints where you think it would be useful.
  • npm link in the react-scrollaware repo.
  • npm link react-onscroll-hoc in your project.
  • if needed rebuild react-scrollaware module: npm run build-npm

Contributing

  • Documentation improvement
  • Feel free to send any PR

LICENSE

ISC