4 ms·
I like GraphQL but if you're just serving a single SPA I wonder about all this busy work we still have to do. Why haven't we gone a step further and just abstra
by jamil7 6y ago
I like GraphQL but if you're just serving a single SPA I wonder about all this busy work we still have to do. Why haven't we gone a step further and just abstracted all the networking and serialisation steps away and our models are synced for us in the background. Maybe the apollo team is heading in this direction but their offline story isn't great yet.
Edit: I remember now that the Apollo team is made up of members of the former Meteor team which worked in a similar way using a client side database.
- searchableguy 6y agoYou can use rxdb for replication and offline support.
- jamil7 6y agoYeah good point, WatermelonDB, rxdb and pouchdb all fit this model. This to me feels like the future for web and mobile.
- searchableguy 6y agoHopefully not. In an ideal world, this would be the responsibility of the browser given the widespread web apps.
- jamil7 6y agoI don't follow, how do you mean?