samuel
Oct 10, 2026
Count Up
Numbers that count up when they come into view, using IntersectionObserver rather than a scroll listener.
Scroll listeners fire hundreds of times a second and you end up throttling them. The observer fires once. #javascript
Scroll listeners fire hundreds of times a second and you end up throttling them. The observer fires once. #javascript
1 reply