TanStack · Hook
useLoaderDeps
useLoaderDeps reads the dependencies that trigger a route loader. You can read the full object or return a selected value.
Last updated
Syntax
useLoaderDeps({ from, select?, structuralSharing? })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
getRouteApirouteApi.useLoaderDepsloaderTLoaderDepsTSelected