davidnguyen11 / react-is-in-viewport

πŸš€πŸ“±The component allows to detect whether or not the component is in the viewport πŸš€πŸ“±
MIT License
15 stars 2 forks source link

Enhance the component to run onEnter when first loaded #16

Closed davidnguyen11 closed 4 years ago

davidnguyen11 commented 4 years ago

If the component first appears and it fits to the viewport. Run the onEnter.

davidnguyen11 commented 4 years ago

https://github.com/davidnguyen179/react-is-in-viewport/pull/14