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
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!
All great ideas! Thank you!
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.
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. :(
Nice to see diff gql clients , fetch tip was awesome!
You could also use URQL or Draqula.
I've done videos on URQL. I didn't use it here because I wanted each library to show a different model.
Nice comparison Jack Thanks
thx for this! very informative.
can you do a tutorial on setting up pagination on Apollo server next pls? thx again!!!!!!
Balbasaur as a Fire type 😲😁
That was really informative. I believe the Graphical interface is know as GraphQL Playground developed by Prisma, not GraphiQL.
Fair enough. :) I'll fix that the next time I cover it. (Which should be soon-ish).
This comparison was cool💫
Really good videos. I am on 🔥.
urql is the new hotness in this space
URQL is good stuff. ruclips.net/video/5A0QGlxuTSU/видео.html
Great video, is the code deployed to github, please share it with us
Not sure if I missed it but did you mention bundle sizes as well?
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.
Font size is too small
Yeah, I've increased my font size a lot on more recent videos.