Tag: swr
-
Issue with Passing Variables in useSWR with graphql-request
0 I’m facing an issue while using the useSWR hook from the SWR library along with the "graphql-request" library to fetch data from my GraphQL server. The problem seems related to passing variables to the query using the useSWR hook. I have a GraphQL query defined as follows: export const GetArticleById = /* GraphQL */…