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:
parent
a49e5e5a06
commit
924b3ffdfd
7 changed files with 57 additions and 123 deletions
Loading…
Add table
Add a link
Reference in a new issue