Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isLoading = false with rapid requests #24

Open
braco opened this issue Feb 21, 2020 · 0 comments
Open

isLoading = false with rapid requests #24

braco opened this issue Feb 21, 2020 · 0 comments

Comments

@braco
Copy link

braco commented Feb 21, 2020

If rapid requests are issued, like in an autocomplete scenario, isLoading will be false even when hanging requests are still open.

In other words:

  1. Setup a series of fetches quickly as the user is typing
  2. When a new fetch is issued, cancel the previous fetches
  3. isLoading will === false even though current fetch is still open
  4. results will still correctly return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant