From 5a9d28ba45298a613bb9eca77a8ff1f226c8047e Mon Sep 17 00:00:00 2001 From: Hector Garcia Date: Fri, 13 Feb 2026 13:54:43 +0000 Subject: [PATCH 01/19] perf(UnderlineNav): replace JS DOM measurement with CSS overflow + IntersectionObserver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace synchronous getBoundingClientRect/getComputedStyle layout-forcing calls with CSS overflow: hidden + IntersectionObserver for overflow detection. - Eliminates all forced reflows from UnderlineNav (72 → 0 layout-forcing calls) - Removes useLayoutEffect (paint-blocking) in favor of async useEffect - Removes ResizeObserver + manual width calculation loop - Removes getAnchoredPosition dependency - Simplifies overflow menu item management with useMemo - Moves More button outside the