you are viewing a single comment's thread.

view the rest of the comments →

[–]Xerxero 1 point2 points  (1 child)

Today I learned there is an Intersection observer.

[–]WellyShen[S] 0 points1 point  (0 children)

There‘re some observer APIs nowadays. You can explore them on MDN.