3 min listen
Using GraphQL queries in Remix loader functions
Using GraphQL queries in Remix loader functions
ratings:
Length:
4 minutes
Released:
May 17, 2022
Format:
Podcast episode
Description
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 Zakharchenko
GraphQL Example in the Remix Repo
Links:
Artem Zakharchenko
GraphQL Example in the Remix Repo
Released:
May 17, 2022
Format:
Podcast episode
Titles in the series (100)
Managing Burnout by The Call Kent Podcast