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

API call blocking #22

Open
Pckool opened this issue Jul 2, 2022 · 0 comments
Open

API call blocking #22

Pckool opened this issue Jul 2, 2022 · 0 comments

Comments

@Pckool
Copy link
Contributor

Pckool commented Jul 2, 2022

There should be an option when setting up an API instance that allows you to only have 1 call at a time (no concurrent calls). This could be useful for API calls in react "useEffects". "useEffect" is called twice on component mount unless you turn it off by disabling strict mode or by adding a state you use to keep track of loading state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant