Closed subhoghoshX closed 2 months ago
My initial intuition is to use useDefferedValue(). I'll try to look into it.
Shouldn't you just do standard throttling / "debounce" on the input? So it sets a very short timer while typing and the timer is reset on each key, basically, so it doesn't update on each keystroke?
Open a large directory like
/bin
and start typing. There's a significant delay in the characters appearing or disappearing when you type or press backspace.