4 ms·
I started a new Ember.js project recently and got frustrated with Ember Data and JSON API. In my experience, it's the weakest part of Ember by far. Out of curio
by bgentry 10y ago
I started a new Ember.js project recently and got frustrated with Ember Data and JSON API. In my experience, it's the weakest part of Ember by far. Out of curiosity, I tried wiring up Apollo Client to my backend instead. Turned out to be very easy to get going.
So far I like apollo-client and GraphQL much more than Ember Data. I get full control over what data is being loaded on each route and only fetch exactly what's needed. Mutations with explicit arguments are also much better than the blob.save() / save-everything style encouraged by ember-data.
With client-side resolves in the next release, this integration should get even better. Hopefully they'll also switch to using GETs for non-mutation queries to enable some much better caching options.