Closed xImAnton closed 3 years ago
because state in react function component only updates in functions on rerender and LoadingProvider isnt rerendered instantly everytime when useLoading().incrementMissingFetches() or .decrementMissingFetches() is called.
because state in react function component only updates in functions on rerender and LoadingProvider isnt rerendered instantly everytime when useLoading().incrementMissingFetches() or .decrementMissingFetches() is called.