Skip to content

Commit e736981

Browse files
committed
Async hydrate
1 parent 0fc1763 commit e736981

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

beta/src/pages/_app.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ export default function MyApp({Component, pageProps}: AppProps) {
4747
}
4848

4949
return (
50-
<AppShell>
51-
<Component {...pageProps} />
52-
</AppShell>
50+
// @ts-ignore
51+
<React.Suspense fallback={null} unstable_avoidThisFallback={true}>
52+
<AppShell>
53+
<Component {...pageProps} />
54+
</AppShell>
55+
</React.Suspense>
5356
);
5457
}

0 commit comments

Comments
 (0)