useOutletContext

useOutletContext

概述

参考文档 ↗

返回父级路由的 <Outlet context>

签名

useOutletContext(): Context
文档和示例 CC 4.0