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
The interaction observer component stops working if it exists in two different pages and you navigate directly from one to the other.
i created a test in codesandbox that adds the IO-Example component to the about page, there you can see that if you refresh any of the pages it works but if you navigate from one to the other the interaction is not registered.
The interaction observer component stops working if it exists in two different pages and you navigate directly from one to the other.
i created a test in codesandbox that adds the IO-Example component to the about page, there you can see that if you refresh any of the pages it works but if you navigate from one to the other the interaction is not registered.
https://codesandbox.io/s/gatsby-universal-smyvs
Edit: I ended up using the useInView hook from https://github.com/thebuilder/react-intersection-observer and it works great.
The text was updated successfully, but these errors were encountered: