This is what I even thought about.
I have summarized my view on this.
Save as soon as possible.
What this means, besides any other imperatives that motivate you to postpone your salvation, make your salvation at the earliest opportunity. You can save directly to your main store, or you can save a transition state specifically for tombstone processing. You can save in the background while the page is open. You can save when the user requests a move between pages.
In situations where something unexpected can happen, for example, loss of power, an exception requiring the attention of users (in the absence of time for this, if it is deactivated), saving early offers is slightly more dependent on the user.
Imperatives that may prompt you to postpone conservation may include
- Depending on your architecture, it may be inconvenient to implement page-level data storage.
- Depending on the amount of data that needs to be stored and the architecture of the isolated storage model, this can lead to performance degradation, essentially for storage at the page level or at the level.
source share