Replies: 1 comment 1 reply
-
Great question. In general, I'd say it boils down to these two use cases:
If you're using Firebase, you likely wouldn't use GraphQL at all and instead use their SDKs. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Howdy,
I was checking out some GraphQL implementations with Next.js. The implementations in question are as follows:
1.) If you go to the examples folder on Github you can find this
with-apollo
example. It looks like it is SSR with an implementation with Apollo Client.2.) My guy, Ben Grunfeld, implements GraphQL on the the Next.js API routes using Apollo Server. Link here.
I guess my question is when would I go with one implementation over the other? I can only surmise that it depends on what I'm using as a data source. Like for example, If I used Hasura, I'd use the first implementation, as compared to using Firebase, which at which point I'd use the second implementation (cause I'd need to code the GraphQL interaction with Firebase).
does anyone have further insight on this? I'd love to hear it.
Beta Was this translation helpful? Give feedback.
All reactions