Handling sleep mode and internet connection issues with web APIs
We have a rest api that we use to update data with certain time intervals. We update our data by regularly calling a function that fetches the data using the setInterval method.
However, we had some problems as a result of internet disconnection / ne...
sft.hashnode.dev2 min read