awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
919 stars 266 forks source link

Difference between redux-offline and Appsync SDK offline capability #636

Open mir1198yusuf opened 3 years ago

mir1198yusuf commented 3 years ago

Hello,

I want to ask a basic question,I tried searching all over internet but couldn't find it.

As in the title, what is the difference between redux-offline and Appsync SDK offline capability.

Redux-offline provides local storage of redux state & appsync SDK with offline capability provides caching or storage of graphql queries.

Both queues the queuing of graphql mutation operations.

So do we have to use both for offline capability as same data would be stored in two caches or two local storage ?

Or please explain in brief what are the differences with scenario where both or either is to be ideally used ..

Thanks