I'm trying to solve the problem with poor internet connection and many times disconnected for a mobile browser app made with the angular framework.
It's like this Book Collection app. Currently, the web app (has a web URL) saves the data directly in Azure table storage in the cloud. Due to the poor internet connection, the app fails to update the cloud storage. When the user visits the web app again using the same URL, the app tries to read the data from Azure table storage, and the updated data is not available.
- Is LocalStorage a solution to this problem by saving the data locally in the browser? Should the app save the data first in the LocalStorage and then update the Azure storage? In the case of a failure, the data can be read from the local storage.
- Is there any JavaScript library that supports syncing data between the local storage and the Azure table storage?
- Should I use the LocalStorage or the Azure Table Storage as the source of truth for the data?
- Is there a limitation on how much data I can save in Local Storage?