Closed lifeiscontent closed 10 months ago
useRouteLoaderData uses the route id to lookup the loader data, but from what I can tell this breaks the useRouteLoaderData hook
const data = useRouteLoaderData<typeof layoutLoader>("routes/_app+/_layout");
useRouteLoaderData uses the route id to lookup the loader data, but from what I can tell this breaks the useRouteLoaderData hook