๐ ๐ฅ๏ธ React hook to monitor an element enters or leaves the viewport (or another element).
๐ Stable release.
scrollDirection
not work properly.unobserveOnEnter
not working.๐งช Beta release.
isVisible
with inView
state, see Intersection Observer v2 to learn more.onLeave
event won't triggered bug.observe
method for event callbacks.ssr
option