I have an app that displays a list of items. Here is what I am doing.
- When the app first loads I am making an HTTP request to get the list from the firebase database.
- once the list is received the list is stored locally on localStorage for future use.
- On future app loads, the list is loaded from localStorage to prevent unnecessary http calls
I am doing the above programmatically, i.e, saving data to localStorage and check for new data and getting it etc.
Does firebase provide any other way to the same?