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

1,208 commits

Author SHA1 Message Date
Tanner Linsley
0fe6dd0613 checkpoint 2026-01-05 10:20:23 -07:00
Tanner Linsley
05e805e851 Checkpoint 2026-01-05 09:15:36 -07:00
Tanner Linsley
8c0dba92cc no slot specific apis 2026-01-04 23:59:21 -07:00
Tanner Linsley
ca9eddeca5 questions 2026-01-04 22:58:39 -07:00
Tanner Linsley
5bbaf7d7e2 slot navigation 2026-01-04 19:46:32 -07:00
Tanner Linsley
581406e3dd Parallel routes RFC 2026-01-04 19:22:35 -07: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
Shakil Ahmmed
a4e2eb7a17
docs: Fix typo in Next.js middleware description (#6283) 2026-01-04 00:00:43 +01:00
JP Erasmus
2fa4cfadf1
docs: Rename validator to inputValidator in fetch functions (#6245)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-30 02:06:45 +01:00
Tim
8e4cf5b08d
docs: typo about pathless layout routes in routing-concepts (#6214) 2025-12-26 00:57:56 +13:00
Tanner Linsley
650028588f
docs: public seo files and seo tracking (#6208)
* docs(seo): add static file options for robots.txt and sitemap.xml

Document that users can place static robots.txt and sitemap.xml files
in the public directory as a simpler alternative to server routes.

* docs(seo): add Nozzle.io recommendation for rank tracking

Add a "Track Your Rankings" section recommending Nozzle.io as a partner
tool for monitoring SEO performance and keyword rankings.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-23 22:30:17 -07:00
Tanner Linsley
43e9572a0e
docs: SEO/LLM optimization
* docs(start): add SEO guide for React and Solid frameworks

Add a comprehensive SEO guide that clarifies what SEO actually means
for developers and explains TanStack Start's technical SEO capabilities:

- Document head management (meta tags, titles, Open Graph)
- Server-side rendering for crawlability
- Static prerendering for performance
- Structured data (JSON-LD) for rich results
- Sitemap and robots.txt generation via server routes
- Best practices for technical SEO

This addresses the common misconception that SEO is just a checkbox,
explaining that it's about using available tools effectively.

* docs(start): add LLMO guide and cross-references with SEO guide

Add a comprehensive LLM Optimization (LLMO) guide for both React and
Solid frameworks, covering:

- What LLMO/AIO/GEO is and how it differs from traditional SEO
- Structured data (JSON-LD) for AI consumption
- Schema.org examples: Article, Product, Organization, FAQ
- Machine-readable API endpoints
- Content best practices for AI extraction
- llms.txt implementation
- Monitoring AI citations

Also adds cross-reference callouts between SEO and LLMO guides to help
users discover related content.

* ci: apply automated fixes

* docs(start): move SEO and LLMO guides to end of guides list

* docs(start): fix server route examples to use createFileRoute

Update SEO and LLMO guides to use createFileRoute with server.handlers
instead of createServerFileRoute for consistency across React and Solid.

* docs(start): document built-in sitemap and fix route file naming

- Add built-in sitemap generation with prerender + crawlLinks
- Show dynamic sitemap as alternative for dynamic content
- Fix escaped period syntax in file names: sitemap[.]xml.ts, robots[.]txt.ts, llms[.]txt.ts
- Add CDN caching recommendation for dynamic sitemaps

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-23 22:17:55 -07:00
Ulrich Stark
948c4fb045
refactor(router-core): deprecate json function in favor of standard Response.json function (#6181) 2025-12-22 19:44:04 +01: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
Tanner Linsley
5ae9461be0
docs: Create markdown import and rendering guide (#6150)
* docs(start): add guide for rendering markdown content

Add comprehensive guide covering two methods for importing and rendering
markdown in TanStack Start applications:
- Static markdown with content-collections for build-time loading
- Dynamic markdown fetched from GitHub or remote sources at runtime

Includes setup for unified/remark/rehype pipeline, code highlighting with
Shiki, and practical examples for blog posts and documentation pages.

* ci: apply automated fixes

* docs(start): add rendering-markdown to navigation config

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-19 11:55:20 -07:00
Tanner Linsley
8a791e229b Merge branch 'main' of https://github.com/tanstack/router 2025-12-16 12:37:37 -07:00
Tanner Linsley
03aa67f106 docs: add comparison to sidebar 2025-12-16 12:37:35 -07:00
autofix-ci[bot]
df5d76c66a
ci: apply automated fixes 2025-12-16 19:33:15 +00:00
Tanner Linsley
3f1c2bbcb1 docs: add comparison 2025-12-16 12:32:05 -07: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
s-r-x
2c40790b51
docs: fix createMiddleware usage examples in "Observability" guide (#6095) 2025-12-14 23:05:13 +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
98dc05073d
docs: fix database guide example to match Server Functions API (#5716) 2025-12-08 20:37:51 +01:00
Shinya Fujino
aac462109e
docs: fix typo and clarify generateFunctionId example (#5728) 2025-12-06 19:23:19 +01:00
Shinya Fujino
5fa2cd37ca
docs(start): update the "reading-writing-file" tutorial (#6031) 2025-12-07 01:44:03 +13:00
Yavnik Sharma
3d20d30579
docs: remove gitignore suggestion for generated route tree file (#6025)
docs: remove gitignore suggestion for generated routing files in start docs
2025-12-05 22:05:19 +01: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
Shruti Kapoor
e41cdf2dfb
Small update to guide on fetching external API (#5900)
* small fix to server function

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 11:22:08 -08:00
Birk Skyum
d2f7ff44de
docs: link to react example 2025-11-25 16:38:58 +01:00
Birk Skyum
4437739e85
docs: start auth.js example (#5962)
* docs: start auth.js example

* ci: apply automated fixes

* bump start-authjs

* add auth.js to docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 15:55:05 +01: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
Dominik Dorfmeister
30b45410e0
feat: createServerEntry (#5859) 2025-11-13 22:09:14 +01:00
Birk Skyum
dfb4f9af45
docs(solid-router): router-monorepo-simple-lazy example (#5853)
* docs(solid-router): router-monorepo-simple-lazy example

* lockfile

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-13 01:18:09 +01:00
Birk Skyum
1cc380172f
docs(solid-router): router-monorepo-simple example (#5852)
* docs(solid-router): router-monorepo-simple example

* delete extra lockfile

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-13 00:48:34 +01:00
Birk Skyum
606dd19561
docs(solid-router): monorepo-solid-query example (#5850)
* docs(solid-router): monorepo-solid-query example

* fix naming for solid

* handle lockfile

* link example

* fix syntax in json

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-13 00:02:13 +01:00
Birk Skyum
a5c7133a60
docs(solid-router): navigation-blocking example (#5843)
* docs(solid-router): navigation-blocking example

* link to example
2025-11-12 20:18:32 +01:00
Birk Skyum
5a06540c93
docs(solid-router): location-masking example (#5841)
* docs(solid-router): location-masking example

* fix image links

* link to eaxmple
2025-11-12 19:58:18 +01:00
Birk Skyum
68054202c2
docs(solid-router): kitchensink example (#5840)
* docs(solid-router): kitchensink example

* add listing

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-12 19:34:05 +01:00
Birk Skyum
f581aa9e17
docs(solid-router): scroll restoration example (#5839)
* docs(solid-router): scroll restoration example

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-12 19:30:02 +01:00