Perf: Throttle Hero scroll listener #4

Merged
google-labs-jules[bot] merged 1 commits from perf/hero-scroll-throttle-1683118190839821830 into main 2026-01-23 09:06:16 +00:00

1 Commits

Author SHA1 Message Date
google-labs-jules[bot]
5d6d938f10 perf: throttle Hero scroll listener with requestAnimationFrame
- Implements requestAnimationFrame throttling for the scroll event listener in Hero.tsx
- Adds cleanup for the animation frame on component unmount
- Adds unit tests to verify behavior and throttling logic
2026-01-22 08:20:09 +00:00