-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useIntersectionObserver return previous entry as well #395
Open
devth opened this issue
Nov 14, 2023
· 3 comments
· Fixed by #464 · May be fixed by EchoSkorJjj/UI#255
Open
useIntersectionObserver return previous entry as well #395
devth opened this issue
Nov 14, 2023
· 3 comments
· Fixed by #464 · May be fixed by EchoSkorJjj/UI#255
Labels
Comments
Hi, thanks for the feedback! |
Amazing, thanks @juliencrn. I'll check it out! |
Hey @juliencrn, I might have missed it but I don't see a way to get the previous entry with the new code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like it'd be generally useful to have the previous entry (or list of prev entries) returned from the hook. That way client code could compare timings, e.g.
or all previous entries like:
The text was updated successfully, but these errors were encountered: