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
, because you need to pass only attributes which are changed (plus identifier you use for objects). Your way works as well, just curiosity.
You might be also interested in #11 - rollbackData could be calculated automatically based on optimisticData, as all it really should be is a denormalized object based on the same structure as optimisticData object.
I just found out that you can do this for optimistic updates. This is amazing and should be documented:
The text was updated successfully, but these errors were encountered: