You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently we have a "fetch from HTTP" => "save in store" strategy
In order to accommodate real scenarios and to make rehydration easier we should rework the dataflow like this:
ACTION => attempt HTTP call => (onError: => INSERT ACTION into Sync Queue) => (on Success) => update ClientDB (localforage, RXDB, ngrx/db, PouchDB ...) => UPDATE STORE
This enables offline scenarios and data syncing by replaying the actions from the SyncQueue ({action: "", payload: ""})
The text was updated successfully, but these errors were encountered:
currently we have a "fetch from HTTP" => "save in store" strategy
In order to accommodate real scenarios and to make rehydration easier we should rework the dataflow like this:
ACTION => attempt HTTP call => (onError: => INSERT ACTION into Sync Queue) => (on Success) => update ClientDB (localforage, RXDB, ngrx/db, PouchDB ...) => UPDATE STORE
This enables offline scenarios and data syncing by replaying the actions from the SyncQueue ({action: "", payload: ""})
The text was updated successfully, but these errors were encountered: