useRouteLoaderData

external fun useRouteLoaderData(routeId: String): Any?(source)

Returns the loaderData for the given routeId