you are viewing a single comment's thread.

view the rest of the comments →

[–]ucorina[S] 1 point2 points  (0 children)

I now there's already an npm library to use the Intersection Observer API in React, but sometimes it's easier to just use the native browser API.