Offline Mutation

prisma

#1

hey guys, can you give me idea on how to achive offline mutation?
i’m building a react-native app that query all the data and save to localstorage, and then offline, the app can still do some mutations. And then when back online, the real mutation can now push to the API. Thanks guys


#2

I think you can use Apollo’s optimistic response for this.

Otherwise looks like this will need some custom work as I am not really aware of such solution right now


#3

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.