I am using Apollo Client with Server-side Rendering but it seems Apollo Client's useQuery hooks are never called on the server side with razzle. All the queries are instead only called on the client side.
To solve this in Next.js, I could call the query on server-side like so:
❓Question
I am using Apollo Client with Server-side Rendering but it seems Apollo Client's
useQuery
hooks are never called on the server side with razzle. All the queries are instead only called on the client side.To solve this in Next.js, I could call the query on server-side like so:
Is there a solution to this in razzle?