Fix memory leak in useTypingEffect hook #2

Merged
google-labs-jules[bot] merged 1 commits from fix-typing-effect-cleanup-379426751446782624 into main 2026-01-22 04:48:41 +00:00

1 Commits

Author SHA1 Message Date
google-labs-jules[bot]
8f820e262f Fix uncleaned setTimeout in useTypingEffect hook
Refactor useTypingEffect to use a single useEffect with proper cleanup for all timers, preventing state updates on unmounted components.
Add unit tests to verify behavior and ensure no memory leaks on unmount.
2026-01-22 04:43:55 +00:00