rooks
rooks copied to clipboard
useIntersection hook that tracks two refs interesection or tracks intersection with one ref and viewport
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
@imbhargav5 Are you looking for someone to take this up? If so, I would like to take it up with a little bit of explanation.
FYI, I have neither created a custom hook nor know TS.
@Chaitanya7666 Go ahead!
Actually, I did not understand the use case of this hook. Could you please point me out to any resource on the internet that the useIntersection
hook tries to simplify or explain me briefly what's expected?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.