Skip to Content
You are viewing a beta version of Clerk Docs
Visit the latest docs
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

<MultisessionAppSupport>

The <MultisessionAppSupport> provides a wrapper for your React application that guarantees a full rerendering cycle everytime the current session and user changes.

Usage

pages/_app.tsx
import "@/styles/globals.css"; import { MultisessionAppSupport,ClerkProvider } from "@clerk/nextjs"; import { AppProps } from "next/app"; function MyApp({ Component, pageProps }: AppProps) { return ( <ClerkProvider {...pageProps}> <MultisessionAppSupport> <Component {...pageProps} /> </MultisessionAppSupport> </ClerkProvider> ); } export default MyApp;

Last updated on February 13, 2024

What did you think of this content?

Clerk © 2024