Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
dev-blog.apollodata.com
Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
1–10 of 81 posts
Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#2I'm happy to answer any questions about the GraphQL ecosystem as well as how it might fit for your specific use case.
Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#3We at Graphcool (https://www.graph.cool) are super excited about this release as the majority of our customers are building their apps with Apollo Client.
A few months back we launched Learn Apollo (https://www.learnapollo.com/) here on Hackernews which so far has helped thousands of developers to get started with Apollo. (HN Link: https://news.ycombinator.com/item?id=13187431)
For people just starting out with Apollo: With tools like graphql-up (https://www.graph.cool/graphql-up/) it's super easy to get a GraphQL API for your Apollo apps. We're looking forward to contribute more to Apollo and its ecosystem going forward!
Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#4With Rest APIs there's always the problem (with numerous solutions) of how you select the particular fields and how you nest and or do not nest the resources in the api. With GraphQL this is more or less a non-issue - the client just requests want he wants and gets it back if he's allowed access to it.
I know GraphQL has been around for a while but this has been my first full go with it and I could easily forsee it doing to REST what REST did to SOAP - at least for the use case of building frontend clients that consume some api.
Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#5Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#6Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#7Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#8Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#9I've just started working on a graphql project now and from the frontend perspective its phenomenally better than a rest api. The backend side of things is also pretty simple so I'm really enjoying it. With Rest APIs there's always the problem (with numerous solutions) of how you select the particular fields and how you nest and or do not nest the resources in the api. With GraphQL this is more or less a non-issue -…
This becomes pretty powerful once cache digests land, so a HTTP/2 REST service can just proactively push only the resources to the client that it has an (up-to-date) copy of.
Nesting resources is a bit of an anti-pattern imho, and the solution looks bad because it's a poor fit in the protocol.
Of course, all of this is a bit of a moot point if you don't believe in addressable/linkable resources as a good solution. If you're not doing/believing in hypermedia in REST, you're much better off with something like GraphQL because it provides a very complete solution. You just need a ton of domain knowledge to be successful at proper REST.
Re: Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
#10I also found it fairly straightforward to set up Server Side Rendering (SSR). My example is at https://github.com/rattrayalex/isomorphic-react-relay-router... if it helps anyone, though it's a year out of date.
EDIT: A more up-to-date example at https://github.com/rattrayalex/django-graphql-react-ssr/blob... – meant to open-source it as a simple SSR lib.