@devries-cameron20 / t3code Mirror · read-only / commits / 16e6a6ab50
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 06:45 UTC

perf(web): AnimatedHeight compiles with the React Compiler (#20562)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 16, 2026 at 22:15 UTC 16e6a6ab50c39206108f3bf6f9e3d9be6d87ba4b
1 file changed +5 -1
apps/web/src/components/AnimatedHeight.tsx
+5 -1
@@ -26,7 +26,11 @@ export function AnimatedHeight({
26 );
27 }, HEIGHT_TRANSITION_FALLBACK_MS);
28 return () => window.clearTimeout(timeoutId);
29 - }, [heightState.height, heightState.isClipping]);
29 + }, [
30 + // oxlint-disable-next-line react/exhaustive-effect-dependencies -- A height change mid-transition starts a new transition, so the fallback timer restarts.
31 + heightState.height,
32 + heightState.isClipping,
33 + ]);
34
35 useLayoutEffect(() => {
36 if (holdHeight) return;