Using 2 different graphql endpoints in SWRConfig #2166
Unanswered
Sam-M-Israel
asked this question in
Q&A
Replies: 1 comment
-
I found that there is a way to nest SWRConfigs: https://stackoverflow.com/questions/72613311/what-options-are-picked-when-i-use-multiple-nested-swrconfig Not sure if this is the recommended way to do it though |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have 2 different graphql endpoints I need to query for my react app. How do I use 2 different ones in the SWRConfig?
My queries have variables and fragments if that help.
Couldn't find anything documentation or examples on this. Does this ability exist in SWR?
Beta Was this translation helpful? Give feedback.
All reactions