Lee Byron - Exploring GraphQL at react-europe 2015

  Рет қаралды 56,002

ReactEurope

ReactEurope

Күн бұрын

Пікірлер: 21
@ralfrolfen5504
@ralfrolfen5504 Жыл бұрын
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!
@arisweedler4703
@arisweedler4703 3 жыл бұрын
Best piece of media I've ever seen to help me understand graphQL
@sjkba
@sjkba 9 жыл бұрын
Very well presented talk and distinctive outfit. Love it!
@JoeCritchley
@JoeCritchley 9 жыл бұрын
Fantastic explanation. Also great to see the React Europe vids coming in.
@sriramvelamur
@sriramvelamur 9 жыл бұрын
Excellent work there, particularly the wonderfully abstracted way to nest queries.
@guihe7095
@guihe7095 9 жыл бұрын
At 22:22 there is mention of "design and build graphql server" will we be seeing this?
@agonb3156
@agonb3156 9 жыл бұрын
Gui He /watch?v=gY48GW87Feo
@joeywood
@joeywood 9 жыл бұрын
Some similar goals to OData, with query projection and graph/schema definition and traversal.
@jasonhamm8809
@jasonhamm8809 9 жыл бұрын
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.
@michaelstaub22
@michaelstaub22 9 жыл бұрын
Great presentation!
@ajgubi19
@ajgubi19 9 жыл бұрын
Individual queries for each field? Say whaaaaa...t?
@sharon0x1
@sharon0x1 8 жыл бұрын
+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.
@ammarasana3822
@ammarasana3822 5 жыл бұрын
I liked it. Good one :)
@bzzzvzzze
@bzzzvzzze 9 жыл бұрын
amazing
@cphoover11
@cphoover11 9 жыл бұрын
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
@pushrax
@pushrax 9 жыл бұрын
Charlie Hoover the function doesn't have to send the query immediately. See github.com/graphql/graphql-js/issues/26
@LeeByronW
@LeeByronW 9 жыл бұрын
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.
@Spiun666
@Spiun666 9 жыл бұрын
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)
@LeeByronW
@LeeByronW 8 жыл бұрын
+Spiun666 Bingo! github.com/facebook/dataloader is an implementation of that exact idea.
@kuchumovn
@kuchumovn 9 жыл бұрын
good one
@me-timeline
@me-timeline 8 жыл бұрын
duh native app to embed a web page what a dumb idea
Ryan Florence - Don't Rewrite, React! at react-europe 2015
31:11
ReactEurope
Рет қаралды 43 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
GraphQL - Source code overview
25:33
Lee Byron
Рет қаралды 8 М.
The Truth About GraphQL
12:06
Theo - t3․gg
Рет қаралды 104 М.
Exploring GraphQL
26:23
@Scale
Рет қаралды 26 М.
React.js Conf 2015 - Immutable Data and React
31:11
Meta Developers
Рет қаралды 154 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 200 М.
GraphQL: The Documentary
27:58
Honeypot
Рет қаралды 578 М.
Dan Schafer - GraphQL at Facebook at react-europe 2016
26:31
ReactEurope
Рет қаралды 24 М.
"GraphQL: Designing a Data Language" by Lee Byron
39:56
Strange Loop Conference
Рет қаралды 18 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН