[GraphQL]: useSwr vs Relay GraphQL Client #21724
Unanswered
georgekrax
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am short of a beginner here, so I would like to ask if I can use the
useSWR()
hook with my GraphQL API built with Apollo. I would not like to use the Apollo Client on the front-end, so I am interested in using Relay Modern. I have seen various articles and it says it also in the documentation that SWR works great with GraphQL. Has anyone done something similar in a project of yours? What are your thoughts? Should I stick withuseSWR()
andgraphql-request
for a production website?Any thoughts, ideas and comments are really appreciated!
Beta Was this translation helpful? Give feedback.
All reactions