Using GraphQL queries in Remix loader functions episode artwork

EPISODE · May 17, 2022 · 3 MIN

Using GraphQL queries in Remix loader functions

from The Call Kent Podcast · host Kent C. Dodds

Hey Kent! We've been using Hasura to generate CRUD APIs for our small team. Our existing web applications are all using Next.js, and consume the GraphQL API via Apollo Client and TypeScript hooks generated from the remote schema using graphql-code-generator. This workflow has saved us a lot of time, particularly in API development, and I love the generated type-safe hooks. After watching your new Remix content, we're very excited to try Remix as an alternative to Next, mostly to leverage the performance benefits and the effortless error boundaries within nested routes. Do you have some best practices for utilizing GraphQL queries in Remix loader functions? It would be great for us to continue to take advantage of code generation, if possible. Thank you so much!Links:Artem ZakharchenkoGraphQL Example in the Remix Repo

Episode metadata supplied by the publisher feed · Published May 17, 2022

Embed this episode

NOW PLAYING

Using GraphQL queries in Remix loader functions

0:00 3:36

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of The Call Kent Podcast?

This episode is 3 minutes long.

When was this The Call Kent Podcast episode published?

This episode was published on May 17, 2022.

Can I download this The Call Kent Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!