You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -18,7 +18,7 @@ export const meta = formatFrontmatterToRemixMeta(frontmatter)
# useInView
A helpful utility hook tracking the visibility of an element in the viewport. Using the native `IntersectionObserver`,
A helpful utility hook tracking the visibility of an element in the viewport. Using the native [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API),
you can respond either to a `boolean` signifying that the element has "intersected" or instead pass it a function
returning `SpringValues` to animate the element upon `intersection`.