Optimistic Updates

In the example below you'll notice a few things. There are two Posts list on the sidebar. The top one will only update after a successful mutation and resync with the server. The subscribed one will update immediately due to the optimistic update. In the event of an error, you'll see this get rolled back.

info

The example has some intentionally wonky behavior... when editing the name of a post, there is a decent chance you'll get a random error.