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
A simple application that showcases how [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) can be used in React with [createRef()](https://reactjs.org/docs/refs-and-the-dom.html). Use case: observe sections in an article and track the current viewed section in a navigation.
5
+
A simple application that showcases how [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) can be used in React with [createRef()](https://reactjs.org/docs/refs-and-the-dom.html). Use case: observe sections in an article and track the current viewed section in a navigation. [Read more about it](https://www.robinwieruch.de/react-intersection-observer-api).
6
+
7
+
## Features
8
+
9
+
* intersection observer API
10
+
* React's createRef to reference DOM nodes
11
+
* intersection observer API polyfill for browsers/testing
0 commit comments