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
First of all, thank you for this amazing library, it saved me a lot of time!
I am writing some fairly complex logic for which I need an IntersectionObserver that observes more that one element, possibly hundreds.
Now, I know I could use more IntersectionObserver instances but that would take a toll on the performances.
So I was searching for a way to observe more that one element with useIntersectionObserver but it seems it's not possible.
I think it would be a good feature and it would make this hook a better abstraction over the native API.
The text was updated successfully, but these errors were encountered:
First of all, thank you for this amazing library, it saved me a lot of time!
I am writing some fairly complex logic for which I need an
IntersectionObserver
that observes more that one element, possibly hundreds.Now, I know I could use more
IntersectionObserver
instances but that would take a toll on the performances.So I was searching for a way to observe more that one element with
useIntersectionObserver
but it seems it's not possible.I think it would be a good feature and it would make this hook a better abstraction over the native API.
The text was updated successfully, but these errors were encountered: