redux-query icon indicating copy to clipboard operation
redux-query copied to clipboard

Feature request - Debounce

Open samuelcastro opened this issue 4 years ago • 3 comments

It'd be super helpful to have a debounce prop that allows us debounce several requests being made by a period of type, util in an input search for instance.

samuelcastro avatar Apr 15 '20 22:04 samuelcastro

Could you debounce the input onChange event?

mili-confluent avatar May 20 '20 00:05 mili-confluent

It looks like @mili-confluent 's idea is great, and debouncing is out-of-scope for this library.

karevn avatar Jul 24 '20 05:07 karevn

Sure, there are several ways to debounce it, and we might not call queries/mutations from onChange events, I just think that this would be super helpful if implemented directly in the library.

samuelcastro avatar Jul 26 '20 20:07 samuelcastro