You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
bind the state to the callback. Because the state is immutable (in theory), each state is independent. here it might not work because of arrays. Have to dig a bit here.
debounce over a few ms the internal search function. This will work but will add some complexity and magic.
cancel first request if we are initiating a new search. Could have positive side effects on weird latency issues. I think it's feasible, must check.
The text was updated successfully, but these errors were encountered:
If you make programmatically make two request with the helper, the first response will use the state of the second request.
Example :
This will end up in the clear response to be treated as if there was a refinement expecting a second request.
Workaround : use the 'holdSearch' flag to keep the helper from doing two requests
Possible fixes :
The text was updated successfully, but these errors were encountered: