0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

refactor(route-modules): bind id-based scope APIs through one core helper

The eight id-based binders (`getRouteApi`, `useMatch`, `useLoaderData`,
`useLoaderDeps`, `useSearch`, `useParams`, `useRouteContext`, `notFound`) were
spelled out in each framework; they now delegate to one core helper that maps
module-local ids to the installation. The unused `FileRoutesByPathEntry` type
is dropped.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Manuel Schiller 2026-11-07 20:24:45 +01:00
commit 924b3ffdfd
7 changed files with 57 additions and 123 deletions