React Router API Reference
    Preparing search index...

    Function useOutlet

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

      Parameters

      • Optionalcontext: unknown

        The context to pass to the outlet

      Returns null | ReactElement<any, string | JSXElementConstructor<any>>

      The child route element or null if no child routes match