murflaren
murflaren
TTCTheo's Typesafe Cult
Created by murflaren on 5/18/2024 in #questions
Steps to use graphql endpoint on react client
Hello, this might be a very beginner question. I have a Graphql endpoint and I want to use that in a react client with full type-safety. Could someone let me know what are the steps or how you would approach this? I'm wondering whats the right way to get the schema to code generation with hooks. I have some idea in terms of what I need, but I couldn't find any good resources on setting up and using an external datasource for a production app. Any help is appreciated. Thanks everyone. Note: I don't mind using URQL or apollo react client or react-query
4 replies