{"schemaVersion":1,"id":"tanstack-router","name":"TanStack Router","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/tanstack-router/","officialUrl":"https://github.com/tanstack/router","isCatalog":false,"description":"A typed router for React with data loading and URL parameter validation for complex web interfaces.","tasks":["Create a route with typed URL parameters","Connect a route loader to application data and navigation"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["TanStack Router","web","Development"],"aliases":["tanstack/router","tanstack-router","react-router"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Create a route with typed URL parameters","chooseWhen":["Create a route with typed URL parameters","Connect a route loader to application data and navigation"],"considerInstead":[],"requirements":["Design routes and parameter schemas. Router APIs can be used for SSR; choose Start when you need its full-stack feature set. Check setup against the chosen path's documentation."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Route typing does not guarantee server-side resource access rights. SSR can be configured through the TanStack Router API; Start offers a separate full-stack path. Server entry, hydration, and hosting are configured for the chosen option, accounting for the API's documented status."],"faq":[{"question":"What can you use for free in TanStack Router?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with TanStack Router?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for TanStack Router?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with TanStack Router?","answer":"Describe the route tree and URL parameter schemas. Connect a route loader to application data and navigation. Add real data and error handling; check the production build."},{"question":"How does TanStack Router differ from TanStack Start?","answer":"Router handles typed routes, parameters, loaders, schema-based search parameter validation, caching, prefetching, and nested layouts. Start builds on Router and offers a full-stack path with full-document SSR, streaming, server functions, and application builds. Start is not required for SSR: Router documentation describes non-streaming and streaming SSR through its API, with server entry and hydration configuration. The SSR guide marks these APIs experimental; check setup and status against current documentation. Do not attribute Start's server functions and full-stack builds to Router alone."}],"related":[],"sources":["https://github.com/tanstack/router","https://raw.githubusercontent.com/tanstack/router/HEAD/README.md","https://raw.githubusercontent.com/tanstack/router/HEAD/LICENSE","https://www.open-source-tools.com/","https://tanstack.com/router/latest/docs/framework/react/guide/ssr"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Create a route with typed URL parameters.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Describe the route tree and URL parameter schemas.","Connect a route loader to application data and navigation.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/tanstack/router","https://raw.githubusercontent.com/tanstack/router/HEAD/README.md","https://raw.githubusercontent.com/tanstack/router/HEAD/LICENSE","https://www.open-source-tools.com/","https://tanstack.com/router/latest/docs/framework/react/guide/ssr"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/tanstack/router","label":"Official source"},{"url":"https://raw.githubusercontent.com/tanstack/router/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/tanstack/router/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://tanstack.com/router/latest/docs/framework/react/guide/ssr","label":"Official guide: SSR with Router"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}