Skip navigation
Applications
  • Cvent Community
  • User profile
Skip navigation
logo
;

Search

Search
Loading...
Data & GraphQL

GraphQL query (RSC)

What this proves — The same query resolved server-side in a React Server Component with the RSC Apollo client.

getClient() runs the user query on the server; the result is serialized into the initial HTML with no client Apollo.

GraphQL query response, fetched server-side.

{
  "__typename": "User",
  "id": "54321",
  "firstName": "John",
  "lastName": "Mayer",
  "email": "test.planner@cvent.test",
  "company": "Cvent"
}