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

221 commits

Author SHA1 Message Date
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
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
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
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
d8377c0d69 doc updates 2025-12-12 00:00:22 -07: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
Sarah
bc79c9783b
docs: format callouts to put content on new line (#5927) 2025-11-21 14:53:18 +01:00
Dominik Dorfmeister
30b45410e0
feat: createServerEntry (#5859) 2025-11-13 22:09:14 +01:00
Birk Skyum
63655785b5
docs(solid-start): add start-streaming-data-from-server-functions example (#5837)
* start-streaming-data-from-server-functions

* fix solid ssr

* renamse start-bare to start-counter

* lcokfile
2025-11-12 18:49:27 +01:00
Birk Skyum
34f475e5ce
docs(solid-start): sync supabase example to react (#5828)
* docs(solid-start): sync supabase example to react

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-12 02:23:09 +01:00
Birk Skyum
f0e02799ce
docs(solid-start): sync nitro v3 hosting guide to react (#5824)
* docs(solid-start): sync nitro v3 hosting guide to react

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-12 00:14:28 +01:00
Pooya Parsa
33c3d405aa
docs(hosting): update nitro to v3 (#5821) 2025-11-12 00:03:55 +01:00
Birk Skyum
7d4df72d40
docs(solid-start): hosting guide for bun (#5817) 2025-11-11 04:15:16 +01:00
daveycodez
a41e8677b8
feat: Export useHydrated hook with documentation (#5645)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-09 23:45:42 +01:00
Aryan Chaurasia
941e4e7242
(docs:fix) fixed cloudflare workers anchor link (#5723)
Fix cloudflare workers anchor link

Previously the anchor link was set to "#cloudflare-workers" which was not working due to change in title, so I replaced it with "#cloudflare-workers--official-partner".

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2025-11-09 22:03:14 +01:00
Brenley Dueck
fa5d8d69af
docs(solid-start): convex + better-auth example (#5796) 2025-11-09 17:05:24 +01:00
Stephen Brown-Bourne
818a5e79bb
docs(start): typo in the server functions guide (#5773) 2025-11-07 20:23:08 +13:00
Andrew David Kay
854a7ef23d
docs: Update quick-start.md - fix wording of package manager (#5764)
Update quick-start.md

The text should be "package manager" not current "package manage". This corrects that.
2025-11-06 04:04:24 +01:00
Philippe Serhal
cff1b2c579
docs: make Netlify hosting docs precise and actionable (#5747)
docs: improve Netlify hosting docs golden path

Revamp the Netlify hosting docs again, to provide a single golden default path that is precise and
works for most use cases, and call out alternatives separately in subsections.

Also add links out to further Netlify docs where appropriate to increase discoverability and
troubleshootability.
2025-11-04 09:16:46 +01:00
autofix-ci[bot]
19b0083bf8
ci: apply automated fixes (attempt 2/3) 2025-11-03 22:08:47 +00:00
autofix-ci[bot]
834c0770ab
ci: apply automated fixes 2025-11-03 22:07:45 +00:00
Aditya Oberai
401883cde1
Add Appwrite Sites to TanStack Start hosting docs (#5746) 2025-11-03 15:06:41 -07:00
Shinya Fujino
dd87dbed82
docs: fix missing import and logo URL in Migrate from Next.js (#5718) 2025-11-02 17:24:00 +01:00
Hyunjoon KIM
51ae813b65
docs(solid-start): add framework flag to solid start cli commands (#5707) 2025-11-01 10:58:22 +01:00
Julian Sommer
943d61642f
docs(solid-start): add Supabase example (#5598) 2025-10-31 03:28:29 +01:00
Dominik Dorfmeister
e44b5dc1b6
feat(start): export type ServerEntry to allow typing of default exports (#5689)
* feat: export type ServerEntry to allow typing of default exports

when creating a custom server handler

* ref: only export from server-entry
2025-10-29 23:23:35 +01:00
Andy Abi Haidar
05b4defbd0
docs: add guide for New Relic integration (#5631)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-26 22:26:49 +01:00
FatahChan
475707e448
fix: auto discover static routes for prerendering
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-10-26 01:31:14 +02:00
Birk Skyum
a068c4318e
test(solid-router): add sentry e2e (#5612) 2025-10-25 17:57:12 +02:00
autofix-ci[bot]
c6183adb0c
ci: apply automated fixes 2025-10-24 16:51:45 +00:00
Tanner Linsley
efe6e5f075
Add basic error boundary documentation (#5605)
Add Error Boundaries documentation for React and Solid

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-24 10:50:37 -06:00
Brenley Dueck
4c9d221c58
update solid docs (#5602) 2025-10-24 16:51:34 +02:00
Wei Wang
e596798813
docs: Install vite as a devDependency (#5547) 2025-10-24 01:29:58 +02:00
Birk Skyum
07f56f82e8
docs(solid-start): nitro v3 vite plugin example (#5577) 2025-10-22 00:44:16 +02:00
Birk Skyum
37ac3adbf6
fix naming of solid-start example (#5576) 2025-10-22 00:24:12 +02:00