0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
Commit graph

277 commits

Author SHA1 Message Date
Soheil
29c0201441
docs: import defaultRenderHandler instead of renderRouterToString in … (#6776)
docs: import defaultRenderHandler instead of renderRouterToString in ssr.md 

example using defaultRenderHandler imports renderRouterToString instead of defaultRenderHandler

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
2026-03-14 13:31:45 +02:00
Manuel Schiller
6f297a2494
feat: add staleReloadMode (#6921)
* feat: add staleReloadMode

* update

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-14 08:41:38 +01:00
Manuel Schiller
31ed0a9648
fix: don't re-execute stale loaders on unrelated location changes (#6867)
* fix: don't re-execute stale loaders on unrelated location changes

* lint

* remove loaderKeyChanged

* from last

* inline staleMatchShouldReload

* update tests

* add test

* fix

* revert
2026-03-09 20:02:35 +01:00
Chapman Cheng
4ea2a62787
docs: Update route file name in routing concepts (#6807)
fix: Update route file name in routing concepts

The code block title `src/routes/posts.tsx` does not match against the line above `posts.$postId.tsx`

This pr fixes this typo
2026-03-07 03:19:13 +01:00
Manuel Schiller
9c81d5ac57
fix: handle beforeLoad throwing notFound correctly (#6811) 2026-03-04 21:34:28 +01:00
Manuel Schiller
190edb1a8d
feat: allow to set extension for route imports in generator (#6790) 2026-03-01 03:08:23 +01:00
JongKyung Lee
9fd7fb95c6
docs(router): add MaskOptions to Navigation documentation (#6625) 2026-02-24 20:06:53 +13:00
combab0
623cbb0de4
docs(router): fix typo in the path param guide for complex suffixes (#6738) 2026-02-24 19:56:39 +13:00
Ulrich Stark
1870dc744f
docs: fix grammar and remove duplicate words (#6726) 2026-02-21 21:53:10 +01:00
Ulrich Stark
31ae74fc72
docs: fix syntax error in create-route-property-order.md (#6711)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-21 03:47:05 +01:00
Sean Cassiere
8bdf8d6df7
docs: move the react-only guides to top-level and restrict in config.json (#6713)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-20 22:45:33 +13:00
Ulrich Stark
c87d84893b
docs: fix syntax error in create-route-property-order.md (#6699)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-19 23:56:55 +01:00
Ulrich Stark
149e760255
docs: add NotFoundError to lint exceptions and fix wording (#6701) 2026-02-19 23:55:46 +01:00
Pavan Shinde
c96fe3dc9f
docs: fix useCanGoBack link path (#6684) 2026-02-18 02:07:47 +13:00
Stefan Ollinger
cf5a26984d
docs: Fixed filenames (#6675)
Fixed filenames
2026-02-15 22:27:26 +01:00
SeanCassiere
027dc05817
docs(eslint): update installation to use unified tabbed markup 2026-02-16 00:11:24 +13:00
Sean Cassiere
e8c5dd0b11
docs(router): restructure docs to use the unified markdown syntax (#6665)
* docs: move overview page

* docs: move all top-level guides to use generic syntax

* make comparison generic

* apply coderabbit suggestions

* docs: move installation guides

* docs: move integrations

* docs: move routing

* docs: move router reference api

* docs: move guides

* docs: fixup links to guides from api reference

* docs: other fixups

* build(llms): LLM generation to account for doc structure change
2026-02-15 21:00:22 +13:00
Flo
6ddb5867cc
feat(router-core, react-router, solid-router, vue-router): isDangerousProtocol uses customizable allowlist (#6542) 2026-02-15 08:04:28 +01:00
Alex Marinov
03c1165ac3
docs: update import statements for TanStack Router Vite plugin (#6575) 2026-02-03 21:09:58 -06:00
Xun Qilong
46fc1e9130
docs: rename route property to routeId in NotFoundErrorType.md (#6544)
docs: fix typo in NotFoundErrorType.md

rename 'route' property to 'routeId'

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
2026-02-01 15:45:59 +02:00
Pavan Shinde
ec4a6fa88c
docs: fix duplicated word in document head management guide (#6565) 2026-02-01 12:28:00 +02:00
Alexander Schmid
5ae6217746
docs: Updated typo in internationalization-i18n.md (#6523)
* Updated typo in internationalization-i18n.md 

Optional path parameters typescript example had a typo (/abotu not /about).

* ci: apply automated fixes

* Fix typo in internationalization guide

reapply change that was undone by ci: apply automated fixes

---------

Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 00:19:24 +02:00
boda
3aa27d59a8
docs(router): URL encoding note on <Link/> and how to opt out (#6443)
* docs(router): Add URL encoding note on <Link/> and opt out with pathParamsAllowedCharacters

* Update docs/router/framework/react/api/router/linkComponent.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* rabbit suggestion

* convert to link

* ci: apply automated fixes

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 15:00:59 +02:00
Tanner Linsley
621a79c894 docs: url rewrites 2026-01-20 15:12:19 -07:00
Nico Lynzaad
3da0227067
fix: encoded url hash fragment matching (#6416)
* decode hash

* ci: apply automated fixes

* cleanup

* revert change to basic-rsc

* add note in docs about hash fragment

* ci: apply automated fixes

* code rabbit suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-19 16:39:48 +02:00
Manuel Schiller
2d9193c25c
chore: bump deps (#6408)
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2026-01-18 02:14:48 +01:00
Manuel Schiller
5299f0be9f
feat: add Route.redirect and getRouteApi.redirect (#6373) 2026-01-14 21:50:58 +01:00
Manuel Schiller
bd40352134
feat: allow regex for indexToken and routeToken (#6354) 2026-01-11 12:38:48 +01:00
Tanner Linsley
e6862d1af9 docs: some best practices 2026-01-10 23:19:36 -07:00
Nik
83ccac49a2
docs: Fix typo in ClientOnly component documentation (#6314) 2026-01-06 08:10:46 +01:00
Júlio Mühlbauer
e77373fd05
docs: add i18n guide (#6219)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 02:12:10 +01:00
Manuel Schiller
71fc7a6c07
fix: generator improvements (#6296) 2026-01-04 18:40:34 +01:00
Zheng Song
834012645f
docs: remove duplicate console.info from beforeLoad example (#6134) 2026-01-03 20:05:17 -06:00
autofix-ci[bot]
59ade979f9
ci: apply automated fixes 2026-01-03 23:02:59 +00:00
Victor Turansky
00617a7e4c
docs(react) fix property name (path -> params) (#6280) 2026-01-04 00:01:39 +01:00
Tim
8e4cf5b08d
docs: typo about pathless layout routes in routing-concepts (#6214) 2025-12-26 00:57:56 +13:00
Manuel Schiller
c05572ebbe
fix: streaming (#6175) 2025-12-22 00:13:49 +01:00
Nico Lynzaad
27d1c5ef04
refactor(router-generator): remove experimental nonnested paths (#6154)
* remove experimental non-nested from tests

* remove experimental non-nested from router-generator

* add underscore to list of disallowed escaped characters

* update docs

* fix tests
2025-12-20 14:24:43 +02:00
Birk Skyum
4256268222
docs(solid-router): path-params - replace react with solid (#6103) 2025-12-15 20:24:54 +01:00
Birk Skyum
6fd176ae82
docs(solid-router): path params (#6096)
* docs(solid-router): path params

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-14 23:05:43 +01:00
autofix-ci[bot]
f9be760991
ci: apply automated fixes 2025-12-12 07:01:36 +00:00
Tanner Linsley
a1f269fcac Merge branch 'main' of https://github.com/tanstack/router 2025-12-12 00:00:24 -07:00
Tanner Linsley
d8377c0d69 doc updates 2025-12-12 00:00:22 -07:00
galarus
b1fb420827
Refactor path parameter usage in documentation (#6042)
Route.useParams() returns a signal accessor that needs to be called like a function in order to access its properties.
2025-12-11 00:44:55 +01:00
Shinya Fujino
5fa2cd37ca
docs(start): update the "reading-writing-file" tutorial (#6031) 2025-12-07 01:44:03 +13:00
Lachlan Collins
15f8e9c4b5
docs: correct local relative links (#6027)
* docs: correct local relative links

* Missing fixes

* Fix lockfile
2025-12-05 22:39:47 +11:00
dt_emmy
3a14ffcea0
chore: Fixed the defaultNotFoundComponent as guided by #5757 (#5937)
* fix: Fixed the defaultNotFoundComponent as guided by  #5757

* ci: apply automated fixes

* fix: correct from <div> to <p> tag

* chore: added docstring to renderRouteNotFound.tsx for both react-router and solid-router

* ci: apply automated fixes

* chore: revert file changes by autofix-ci[bot]

* ci: apply automated fixes

* chore: cleanup documentation of not-found-errors.md

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-22 17:06:28 +01:00
Sarah
bc79c9783b
docs: format callouts to put content on new line (#5927) 2025-11-21 14:53:18 +01:00
Lee
6b235a7cec
fix: update error handling in MatchInner to access error data directly (#4746) 2025-11-19 19:46:29 +01:00
Flo
f39eb9b832
refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01:00