-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 9: add offline mode #13
Comments
You could also use Redux Offline. https://medium.com/@east5th/offline-graphql-queries-with-redux-offline-and-apollo-4837065307f2 |
Actually, It is better to use |
@cybercoder thanks for this! My intention with this tutorial was to introduce basic concepts around how to write GraphQL and React Native code. The step-by-step piece here is to give people an understanding of how each piece fits with the others before it because I've found that many tutorials just show one or two concepts, but not how it all fits together. I've had quite a few people ask me if this code is production ready, and that's really just not what I was attempting here. I chose WhatsApp for the tutorial example because it has a lot of feature requirements that hit on core concepts here -- subscriptions, auth, pagination, different screen types, etc. If the project were to make a bona-fide messenger app, by all means I would look to use something like As for Steps 9+, I wrote a bunch of code back in the day (with push notifications, etc.) but found it incredibly difficult to maintain this project with just 8 steps, so I've tabled the rest. |
Yes, I know, and This is great tutorial and nice with no doubt. My point is there is too many challenges on production ready messenger app. I made some researches and i found Warm Regards. |
If we're talking about cache control, makes sense to put this feature here. Could eliminate
auth
store as well for much cleaner flow 👍This should really get implemented after #4 is successfully part of the tutorial
The text was updated successfully, but these errors were encountered: