API call blocking
Pckool opened this issue · 0 comments
Pckool commented
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.