From 958044183bcc328a137802497f342c938e798323 Mon Sep 17 00:00:00 2001 From: Fabio Mont Alegre Date: Wed, 30 Aug 2023 14:22:17 -0300 Subject: [PATCH] docs(next): Enable suspense in non-rsc example --- docs/advanced/server-side-rendering.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/advanced/server-side-rendering.md b/docs/advanced/server-side-rendering.md index ca4e26f5ec..4893caf740 100644 --- a/docs/advanced/server-side-rendering.md +++ b/docs/advanced/server-side-rendering.md @@ -238,6 +238,7 @@ const ssr = ssrExchange(); const client = createClient({ url: 'https://trygql.formidable.dev/graphql/web-collections', exchanges: [cacheExchange, ssr, fetchExchange], + suspense: true, }); export default function Layout({ children }: React.PropsWithChildren) {