import Link from 'next/link'; import { cacheExchange, createClient, fetchExchange, gql } from '@urql/core'; import { registerUrql } from '@urql/next/rsc'; const makeClient = () => { return createClient({ url: 'https://graphql-pokeapi.graphcdn.app/', exchanges: [cacheExchange, fetchExchange], }); }; const { getClient } = registerUrql(makeClient); const PokemonsQuery = gql` query { pokemons(limit: 10) { results { id name } } } `; export default async function Home() { const result = await getClient().query(PokemonsQuery, {}); return (

This is rendered as part of an RSC

Non RSC
); }