JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q30837F
  • License ISC

A React HoC component for create scroll-aware components

Package Exports

  • react-scrollaware

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-scrollaware) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

a React scroll-aware Higher-order Component

A React HoC component for create scroll-aware wrapped components. Works in all containers that can scroll, including the window.

The intended purpouse of this component is abstract a well tested scroll event handler and build complex scroll behaviour on top of it.

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-scrollaware in your project.
  • if needed rebuild react-scrollaware module: npm run build-npm

Contributing

  • Documentation improvement
  • Feel free to send any PR

LICENSE

ISC