I am currently in the process of developing a mobile app for both IOS and Android platforms. The app will feature a list of objects including images, names, etc., which are stored on a backend server powered by node.js.
My goal is to allow users of the app to display, remove, add, and modify items on this list, as well as enable real-time updates for everyone using the app. I have the ability to access all of the data through Json requests.
My main dilemma is deciding whether it's best to store these Json requests in LocalStorage or keep them in an array variable when the app launches.
Alternatively, I may consider only storing images, but I'm unsure at this point.
Here's an outline of my object structure:
object:
{
name: String;
ingred: Array;
img: String;
}
Thank you.