Skip to content
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

Implement front-end as PWA #22

Open
codihuston opened this issue Feb 1, 2020 · 1 comment
Open

Implement front-end as PWA #22

codihuston opened this issue Feb 1, 2020 · 1 comment

Comments

@codihuston
Copy link
Owner

I want the app to be usable offline. Here are some pretty decent reads / resources om how to do so with this stack:

https://rubygarage.org/blog/pwa-with-react-apollo
https://codelabs.developers.google.com/dev-pwa-training/

My concern lies in how much overhead / additional work it will take to implement the graphql queries and data fetching on the client side in a PWA. And how to handle errors when submitting data when coming back online? i.e.) create a task offline, record a few task instances, come back online... task creation fails, then persisting a task instance im the db fails as a result...? How to fix without losing this data? In each of their respective UIs, have a button that says something along the lines of retry saving to the database?

@codihuston
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant