Chris G
 · Starting to get the hang of this

Using app state variable to store list and reduce reads

Just looking for validation on this. I was thinking I could reduce overall document reads by using an app state variable (custom data type) to store all the docs in a collection along with a "last updated" date, and, every time the user fires up the app, it performs a read for docs created/updated since that date and updates/adds to the app state var accordingly.

Anyone else done this? Any thoughts on this approach?

12 replies