useOutlet
On this page

useOutlet

Summary

Reference Documentation ↗

Returns the element for the child route at this level of the route hierarchy. Used internally by <Outlet> to render child routes.

Signature

useOutlet(context?: unknown): React.ReactElement | null

Params

context

The context to pass to the outlet

Docs and examples CC 4.0
Edit