* docs(start): correct authentication server function examples
* docs(start): prevent caching session-specific auth pages
* docs(start): guard login forms until hydration
* test(start): assert authentication behavior in SSR and SPA modes
* docs(start): fix broken createServerFn doc links in reading-writing-file tutorials
The 'server-functions' page moved from /framework/{react,solid}/server-functions
to /framework/{react,solid}/guide/server-functions in a recent docs refactor.
The old URL returns 307 redirects that hang (tanstack.com server is
timing out on these paths) — effectively a 404 from the user perspective.
Verified manually: the new /guide/server-functions path returns 200 for
both react and solid variants. The link text in the tutorial points to
'createServerFn', which is documented on the new page.
* docs(start): fix ISR data loading link
---------
Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
Adds a short comparison section answering the common question about how
TanStack Start's deferred hydration relates to React 18's selective
hydration. The framing: selective hydration controls the order of
inevitable hydration work; deferred hydration controls whether and when
that work happens at all.
* 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>
* 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>
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.