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?
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?