main
Branches
main (2.15.2)dev
Versions
2.15.21.19.3v0.21.0
React Router v7 has been released. View the docs
useOutlet

useOutlet

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

import { useOutlet } from "@remix-run/react";
Docs and examples licensed under MIT