React.js Conf 2015 - Data fetching for React applications at Facebook

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 20

  • @ilovecomputers
    @ilovecomputers 9 лет назад +3

    This is wonderful. I can't tell you the many times I've edited multiple files just to fetch one new piece of data for a view. When you do something manually as a programmer instead of the computer automatically doing it for you, you know something is wrong with your architecture. Facebook has offered us a better architecture.

  • @RobDunsford
    @RobDunsford 9 лет назад +18

    Developer1 : "Are your updates optimistic?"
    Developer2 : "I hope so!"

  • @florianfeichtinger4824
    @florianfeichtinger4824 9 лет назад +7

    Take the principle of Relay to your children! Children declare what they need and often not what they parents think they do :)

  • @GetOutOfHereStalkan
    @GetOutOfHereStalkan 9 лет назад +4

    Curious to how messy/efficient your code gets with GraphQL at scale? (besides at FB, I'm sure they have a highly specialized system). I just imagine shit getting crazy with lots of views and data dependencies.

  • @krycekaiolfi
    @krycekaiolfi 9 лет назад +3

    GraphQL looks great. That's a problem that always bug me. That makes totally sense now. Not sure about the function style for params. But the idea is simply great.

  • @paulmitchell-gears6765
    @paulmitchell-gears6765 9 лет назад +5

    I like the way the data dependency of a component is colocated with the UI description.
    However, it's still repetition. DRY: couldn't the framework *infer* the data dependency by traversing the node tree generated by the JSX in render()?

  • @AlexGitonga
    @AlexGitonga 9 лет назад +3

    can't wait for GraphQL and Relay surely the best thing

  • @MaximVeksler
    @MaximVeksler 7 лет назад +5

    Happy birthday :) 9:15

  • @viacheslav5574
    @viacheslav5574 9 лет назад

    I just hope it will work seamlessly when rendering on server with renderToString as well. Otherwise it would be a huge upset.
    Also the speakers haven't said a word about how server side that actually would be making queries to a real database would be implemented. That's also very interesting.

  • @goldensunliu
    @goldensunliu 9 лет назад

    Looks like there is some "juggling" pain managing the queries, but the query validation feature should help.

  • @katerinaandrasko3755
    @katerinaandrasko3755 9 лет назад

    Haven't yet looked at the Relay part, but The graphQL seems a bit odd...
    To specify the attributes you want in your object you still need to know which attributes are available to you (aka look at the docs). So why nitpick the attributes, just pass the whole object. And let the children take what they need to.

  • @nyahhbinghi
    @nyahhbinghi 9 лет назад

    not clear whether this is server-side or client-side rendering from the start

  • @63montywilliams50
    @63montywilliams50 2 года назад +1

    I wonder if they knew this would be used with something like web3 back then?

    • @HmongCrypto
      @HmongCrypto 11 месяцев назад

      I swear, it's like nobody notice history is currently in the making. Everyday people have the power to just simply look in the blockchain & most people aren't even paying attention. It's just simply crazy 😅
      I'll be shock if nobody takes notes of this years from now.

  • @b1twis3
    @b1twis3 8 лет назад

    thank you for the awesome video , how can i get a full reference for all the fields and edges ..etc

    • @b3twiise853
      @b3twiise853 4 года назад

      We gotta talk. Who is the real superman?

  • @andersgunnarsson3453
    @andersgunnarsson3453 9 лет назад

    Interesting idea, but it would have been much nicer if GraphQL would have been in pure json. Now we have javascript, jsx and graphql all in the same file. gets messy.

    • @andersgunnarsson3453
      @andersgunnarsson3453 9 лет назад +2

      Anders Gunnarsson Oops, looks like they are already making this better adding GraphQL.js.

  • @MinopolisMc
    @MinopolisMc 8 лет назад +2

    7:20 _Woo_