MediumConceptArchitecture, networking and data
What is the single source of truth principle?
What a good answer covers
One place, often the local database, owns the data and the UI observes it, while network results are written into it, avoiding inconsistent copies.