V
V
Vitaly2019-06-03 00:42:04
React
Vitaly, 2019-06-03 00:42:04

How to make a delay before sending a request in react apollo?

The user enters a query into the search box, React apollo client sends it instantly.
Is it possible using apollo to make a delay before sending a request to the API? Or send a request when the user has stopped typing a request from the keyboard?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-06-03
@vitalysokolov

debounce
example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question