- Added IntersectionObserver to track component visibility. - Paused requestAnimationFrame loop when component is not intersecting. - Resumed loop when component becomes visible. - Added unit tests to verify start/stop behavior.
- Added IntersectionObserver to track component visibility. - Paused requestAnimationFrame loop when component is not intersecting. - Resumed loop when component becomes visible. - Added unit tests to verify start/stop behavior.