Hey fellow dev.to readers and writers! Today I have a quick question regarding Apollo GraphQL.
I'm currently working on an offline support feature so we can schedule mutations offline and show optimistic UI responses for them while the server does not respond.
That works fine while being offline, so everytime I submit a chat message, I get an immediate response from the Optimistic UI cache but if I go offline and send messages, I won't get any optimistic UI responses if the network requests are failing.
Am I missing something crucial on that concept?
Would love to hear from you!