Simple component to execute commands when scrolling the page to the location of the component
Use the npm i fire-here
to install
import {FireHere} from 'fire-here'
To use it you need to write inside JSX
<FireHere id='etc' onHereFn={doShomthingFunction} />
- id : Unique ID value must be assigned to each component
- onHereFn : Function or executable code
View a live sample in the codesandbox