google-labs-jules[bot] 51547318e1 perf(navbar): optimize scroll handler to reduce state updates
- Introduces a local tracking variable in `Navbar` scroll effect to prevent redundant `setState` calls during scroll.
- Ensures the state is correctly initialized on mount if the page is already scrolled.
- Uses `requestAnimationFrame` for efficient scroll handling.

This reduces the number of React reconciliation cycles during scrolling, improving main thread performance.

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
2026-01-30 01:44:56 +00:00
2026-01-23 17:19:35 +01:00
2026-01-21 21:38:41 +01:00
2026-01-22 00:37:45 +01:00
Description
No description provided
1.3 MiB
Languages
TypeScript 79.1%
CSS 20.3%
HTML 0.6%