This is the first explanation I've seen, that properly highlights the strengths of GraphQL. Any other blog or video I've seen (even recent ones), seem like they are just fanboys, repeating what somewhat else said and actually have no idea what is going on. Thank you for this video!
@arisweedler47033 жыл бұрын
Best piece of media I've ever seen to help me understand graphQL
@sjkba9 жыл бұрын
Very well presented talk and distinctive outfit. Love it!
@JoeCritchley9 жыл бұрын
Fantastic explanation. Also great to see the React Europe vids coming in.
@sriramvelamur9 жыл бұрын
Excellent work there, particularly the wonderfully abstracted way to nest queries.
@guihe70959 жыл бұрын
At 22:22 there is mention of "design and build graphql server" will we be seeing this?
@agonb31569 жыл бұрын
Gui He /watch?v=gY48GW87Feo
@joeywood9 жыл бұрын
Some similar goals to OData, with query projection and graph/schema definition and traversal.
@jasonhamm88099 жыл бұрын
Is there any example of the library hooked up to an actual db? I briefly looked through graphql repo, but could only find the graphql piece.
@michaelstaub229 жыл бұрын
Great presentation!
@ajgubi199 жыл бұрын
Individual queries for each field? Say whaaaaa...t?
@sharon0x18 жыл бұрын
+Waliur Rahman Not exactly. Field functions get the thing passed that they are fields on. In the example at around 21:24, there is only one DB query for one user object with the given ID. Once that object is returned, GraphQL passes it to each field functions to do whatever you want with it: return property, do 'join', etc.
@ammarasana38225 жыл бұрын
I liked it. Good one :)
@bzzzvzzze9 жыл бұрын
amazing
@cphoover119 жыл бұрын
so when you define your data fetching via a function for each field is the idea that you are sending a query for each field?? this seems totally wasteful. It would make more sense to have an adapter of some sort for your data store of choice that composes a query to fetch all necessary fields. Using bandwidth in terms of overfetching is bad, but with a query for each field you are exponentially increasing network i/o... Maybe I'm confused
@pushrax9 жыл бұрын
Charlie Hoover the function doesn't have to send the query immediately. See github.com/graphql/graphql-js/issues/26
@LeeByronW9 жыл бұрын
Charlie Hoover we definitely do not recommend doing some kind of dispatch per every field. Its expected that some fields will result in a dispatch (Promise, in JS) and others will be much cheaper simpler functions.
@Spiun6669 жыл бұрын
Lee Byron even better, with promises the persistence layer (or repository) can enqueue requests for certain things (e.g. for every event by ID) then only send a single query for all of them later (before serialization? at the next tick? - whatever seems less hacky)
@LeeByronW8 жыл бұрын
+Spiun666 Bingo! github.com/facebook/dataloader is an implementation of that exact idea.
@kuchumovn9 жыл бұрын
good one
@me-timeline8 жыл бұрын
duh native app to embed a web page what a dumb idea