diff --git a/packages/experimental-nextjs-app-support/README.md b/packages/experimental-nextjs-app-support/README.md index 8dc6b30d..d3c7146f 100644 --- a/packages/experimental-nextjs-app-support/README.md +++ b/packages/experimental-nextjs-app-support/README.md @@ -177,7 +177,7 @@ For that, follow the setup steps for both RSC and Client Components as laid out ``` -And you can use `useSuspenseQuery` in your `ClientChild` component with the same QUERY: +And you can use `useSuspenseQuery` in your `ClientChild` component with the same QUERY and variables: ```jsx "use client"; @@ -186,7 +186,7 @@ import { useSuspenseQuery } from "@apollo/client"; // ... export function ClientChild() { - const { data } = useSuspenseQuery(QUERY); + const { data } = useSuspenseQuery(QUERY, { variables: { foo: 1 } }); return