DEV Community

Petry DeChamp Richardson
Petry DeChamp Richardson

Posted on

I'm learning graphql and I love it so far

So I'm learning graphql for a new project at work and so far it's pretty awesome. I like the concept.

I'm using https://www.howtographql.com which is super useful.

What is your experience with it?

Tips? Warning? suggestions?

Top comments (17)

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
nshoes profile image
Nate Shoemaker •

We've been using GraphQL for a project and we have absolutely loved it (Rails + ruby-graphql and a React SPA with Apollo).

Are you focusing on the server-side or consumer side of things? If you're working on the frontend, I highly suggest investing in a library like Apollo. Managed cache, UI library support, testing helpers, and so much more give you a huge headstart in architecting your frontend's communication with a GraphQL server.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
dechamp profile image
Petry DeChamp Richardson •

going to be both! Ya, so the other team is already using Apollo, so that is what we'll be doing too. Glad to hear you've liked it so far.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
deciduously profile image
Ben Lovy • • Edited

I first got exposed to GraphQL via Gatsby, which uses it for build-time configuration of data loading into React components. I just think that's cool as all heck - brilliant "off-label" use of the tech. It all disappears in the build stage - your compiled, production-ready bundle has no GraphQL in it at all. When building your site, you get built-in access to GraphiQL configured for your project, which is such a great way to explore and play with your data as it grows and changes.

I haven't spent enough time with it to give any tips, just want to second your "pretty awesome" verdict.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
nshoes profile image
Nate Shoemaker • • Edited

+1. We rebuilt our webiste with Gatsby. It was a really fun experience and got everyone on the team to learn a little React.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
dechamp profile image
Petry DeChamp Richardson •

That is awesome. I'll check out Gatsby, I heard of it just hadn't used it. Love me some react.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
deciduously profile image
Ben Lovy • • Edited

I hope you do - GraphQL is just one of the many things I like about working with Gatsby! I tend towards a framework-averse personality but Gatsby has made a lot of the same choices I would have as well as some I wish I'd thought of.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
wtfua92 profile image
Andrii Tynok •

I've been working with this technology for about a year now, but I only understood the basic principles of it until recently. A few days ago I finished fullstackopen.com course from Helsinki University (totally free) which has a section on GraphQL. If you're looking into more advanced stuff with GraphQL, this course gives a great basis for it, strongly recommend

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
gidrek profile image
Giovanni Cortés •

I love GraphQL and Elixir. Preparing a Elixir/Phoenix/Absinthe/GraphQL tutorial

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
andrewvergel profile image
Andrés •

Hi here I’m my experience I loved work graphql with react and Apollo library but the best integration with a database is with this library to nodejs graphile.org/ and if you learn more about Row Level Security you will have a pro stack with graphql.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
tamouse profile image
Tamara Temple •

i began with ruby-graphql on a legacy app a couple of years ago, at the same time learning react and using apollo client. it's been an adventure. i am to the point now i understand it as well as i understand rest, and very much prefer it, mainly for the client's sake.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
andres profile image
Andrés Pérez •

Pretty neat tool, really fun to work with. Definitely has its use cases.

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
isbatak profile image
Ivica Batinić •

Anyone switched from JSON:API to GraphQL recently? How you felt? Was it relieving?

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
clarity89 profile image
Alex K. •

Have you got to Apollo React hooks yet? Those are awesome, decreased the code on some of my components almost in half :D

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
kp profile image
KP •

Anyone using GraphQL on top of MySQL? ANy tips on how to get started?

⚡ Match Highlights: dechamp/i m learning graphql and i love it so far nk - Pertandingan Hari Ini
 
illepic profile image
Christopher Bloom • • Edited

Prisma (prisma.io/) is a great way to approach MySQL and GraphQL.