Four GraphQL Clients Compared

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Let's check out fetch, graphql-request, Apollo Client, and Relay, all on the same server so that you can see for yourself which one is the right one for your project.
    Code: git remote add origin git@github.com:jherr/gql-clients.git
    GraphQL Yoga: github.com/pri...
    GraphQL Request: github.com/pri...
    Apollo Client: www.apollograp...
    Relay: relay.dev/
    If you liked this video, buy me a coffee! www.buymeacoff...
    Hope you folks enjoy this!
    👉 If you enjoy this video, please like it and share it.
    👉 Don't forget to subscribe to this channel for more updates.
    👉 Subscribe now: bit.ly/2E7drfJ
    👉 Discord server signup: / discord
    💢 Watch our other videos:
    💟 Flexible Forms with React Hook Form LIVE! :bit.ly/3g60Feb
    💟Flexible Forms with React Hook Form: • Flexible Forms with Re...
    Thank you for watching this video, click the "SUBSCRIBE" button for stay connected with this channel.
    Subscription Link: bit.ly/2E7drfJ
    #graphql #javascript #react #apollo #relay

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

  • @ChronologicalLogic
    @ChronologicalLogic 3 года назад +6

    Quite a good intro to the two major players - apollo and relay; I was wondering if you're planning on making a video for the two about deeper functionalities like offline capability, store, garbage collection, cache and serving/loading big data comparisons? It's something that never gets covered (or is done in a very VERY opinionated manner), and it's a paramount topic in choosing either of them for your work stack for serious applications. Cheers from CA!

    • @jherr
      @jherr  3 года назад +3

      All great ideas! Thank you!

  • @Dusty-o4t
    @Dusty-o4t 4 года назад +1

    This video is great! I've been exploring the different ways to manage state on the frontend. I'm not a big of apollo-link-state, but I do enjoy working with redux and like you mentioned it goes nicely with graphql-request! I would be interested if you could do a video on state management with graphQl, like using redux or apollo-link-state etc.

    • @jherr
      @jherr  4 года назад +2

      Good idea! I'll add that to the backlog. But I might try to make it more generic somehow. Maybe show both REST and GraphQL because it appears that there is a lot of negative sentiment about GraphQL. :(

  • @sreekumarmenon
    @sreekumarmenon 4 года назад +1

    Nice to see diff gql clients , fetch tip was awesome!

  • @WigglyMalmsteam
    @WigglyMalmsteam 3 года назад +4

    You could also use URQL or Draqula.

    • @jherr
      @jherr  3 года назад

      I've done videos on URQL. I didn't use it here because I wanted each library to show a different model.

  • @RuudvanZuidam
    @RuudvanZuidam 4 года назад +1

    Nice comparison Jack Thanks

  • @igotbit9454
    @igotbit9454 2 года назад +1

    thx for this! very informative.
    can you do a tutorial on setting up pagination on Apollo server next pls? thx again!!!!!!

  • @mkman
    @mkman Год назад +1

    Balbasaur as a Fire type 😲😁

  • @devonreid1105
    @devonreid1105 4 года назад +3

    That was really informative. I believe the Graphical interface is know as GraphQL Playground developed by Prisma, not GraphiQL.

    • @jherr
      @jherr  4 года назад +2

      Fair enough. :) I'll fix that the next time I cover it. (Which should be soon-ish).

  • @edyd1
    @edyd1 3 года назад +1

    This comparison was cool💫

  • @charlieclown9913
    @charlieclown9913 4 года назад +1

    Really good videos. I am on 🔥.

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

    urql is the new hotness in this space

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

      URQL is good stuff. ruclips.net/video/5A0QGlxuTSU/видео.html

  • @slahomar1497
    @slahomar1497 2 года назад

    Great video, is the code deployed to github, please share it with us

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

    Not sure if I missed it but did you mention bundle sizes as well?

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

      I didn't mention it. I haven't check but guessing that fetch is the smallest :), graphql-request after that. And then relay and @apollo/client are likely big, not sure which one would be bigger though.

  • @sushantjadhav1475
    @sushantjadhav1475 3 года назад +1

    Font size is too small

    • @jherr
      @jherr  3 года назад

      Yeah, I've increased my font size a lot on more recent videos.