Next js 15 GraphQl client recommendation
Unanswered
American Sable posted this in #help-forum
American SableOP
Hello. I am soon going to start a complete FE project rebuild with Next.js 15. GraphQl server will be Hot Chocolate. Any recommendation for GraphQl client which fully supports server components? The package for Apollo Client to support the app router is experimental still.
3 Replies
@American Sable Hello. I am soon going to start a complete FE project rebuild with Next.js 15. GraphQl server will be Hot Chocolate. Any recommendation for GraphQl client which fully supports server components? The package for Apollo Client to support the app router is experimental still.
graphql in server components is just the same as fetch, you can use the native
complex clients like apollo shine on the browser because it comes with data caching and state mgment, these things are not applicable in server components
fetch or a thin wrapper like https://www.npmjs.com/package/graphql-requestcomplex clients like apollo shine on the browser because it comes with data caching and state mgment, these things are not applicable in server components
@joulev graphql in server components is just the same as fetch, you can use the native `fetch` or a thin wrapper like https://www.npmjs.com/package/graphql-request
complex clients like apollo shine on the browser because it comes with data caching and state mgment, these things are not applicable in server components
American SableOP
Thanks. I'll take a look at it.