<StackHandler />
Renders the appropriate authentication or account-related component based on the current route.
For detailed usage instructions, please refer to the manual section of the setup guide.
Props
app
:StackServerApp
- The Stack server application instance.routeProps
:NextRouteProps
- The Next.js route props, usually the first argument of the page component (see below)fullPage
:boolean
- Whether to render the component in full-page mode.componentProps
:{ [K in keyof Components]?: Partial<ComponentProps<Components[K]>> }
- Props to pass to the rendered components.
Example
app/handler/[...stack].tsx