Reputation: 19
I am developing a React Native App where I use GraphQL queries for GET calls, Axios for POST calls, GraphQL Subscriptions for real-time updates.
I also have an offline save feature that stores data locally (SqlLite). When device reconnects, I trigger a POST call to save drafts, a GET call to get latest data and then, enable subscriptions.
I am wondering if I can unify the whole process by switching all POST, GET calls in React Native app to Subscriptions (Websocket).
My concerns are
Questions
Upvotes: 1
Views: 111