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
This example uses the same serialization key for all mutations.
All operations will need optimisticResponses, so that the UI can show the pending value before it sent to server.
The queued list still needs to be persisted.
Most of the data (name, query, variables, other context) is JSON-able so that part is relatively straight forward.
The update function is not. Maybe we can extract all update functions and store them in a central place via Babel. Then JSON persist the function name & args.
Show UI for syncing to server when coming back online. "Sending 4/5 changes"
How to handle errors from API?
How to de-dupe pending operations for same thing? (like auto-save for the same field)
How to handle different IDs from dependent operations? i.e. Create Project -> Create Engagement. If create engagement references a temporary project ID then how does that get switched over to the real ID from server?
/
which has our env config and let app do arender
instead of ahydrate
cache-and-network
cache-first
fornextFetchPolicy
. I'm not sure that works across component (un)mounts...defaultOptions
instead of every query.optimisticResponses
, so that the UI can show the pending value before it sent to server.update
function is not. Maybe we can extract all update functions and store them in a central place via Babel. Then JSON persist the function name & args.┆Issue is synchronized with this Monday item by Unito
The text was updated successfully, but these errors were encountered: