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.
63 KiB
63 KiB