awslabs / aws-mobile-appsync-sdk-js

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

Unresponsive UI on query / mutation when disableOffline false. #610

Open rahulnainwal opened 3 years ago

rahulnainwal commented 3 years ago

Note: If your issue/feature-request/question is regarding the AWS AppSync service, please log it in the official AWS AppSync forum

Do you want to request a feature or report a bug? not sure.

What is the current behavior? When disableOffline false and we make a query or mutation, app UI is being unresponsive till response from server for query or mutation.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Use any query or mutation along with disableOffline false for your client.

What is the expected behavior? It should works as smooth as it is worked in disableOffline true condition or syncing data should perform in background (making query to server and cache response data).

Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions? "react": "16.9.0", "react-native": "0.61.5", "react-apollo": "2.5.6", "aws-amplify": "^2.2.5", "aws-amplify-react-native": "^3.2.2", "aws-appsync": "3.0.2", "aws-appsync-react": "3.0.2", "aws-sdk": "^2.619.0",