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

58 commits

Author SHA1 Message Date
Ahmed Zougari
8d9988a054
docs: update the scratch guide to be compatible with Vite 8 (#6976) 2026-03-19 02:38:54 +01:00
Birk Skyum
6db686a37e
docs: fix start cli create commands (#6959) 2026-03-17 22:50:06 +01:00
Nathaniel John Tampus
e2811d39f6
docs(start): update Nitro instructions for v3 beta (#6896)
* docs: update Nitro instructions for v3 beta

* docs: move nitro to dev dependencies

* Apply @seancassiere suggestions from code review

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2026-03-14 22:52:56 +13:00
Manuel Schiller
711f3b858e
feat: import protection (#6688) 2026-02-18 01:16:30 +01:00
Birk Skyum
641720f969
perf: revert to Response, and add docs regarding for FastResponse (#6618) 2026-02-09 14:06:44 +01:00
Pavan Shinde
5e30ea1f30
docs(start): fix typos in Solid quick start (#6571)
Co-authored-by: pavan-sh <pavan-sh@users.noreply.github.com>
2026-02-03 21:07:50 -06:00
Philippe Serhal
6ff1190bdc
chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:49:12 +01:00
Tanner Linsley
f5007fa161 docs: updates 2026-01-23 16:17:07 -07:00
Manuel Schiller
d4bbfa95d5
feat: static replacement of process.env.NODE_ENV during build (#6422) 2026-01-20 01:05:35 +01:00
Nestor Cortina
7367ed82f0
docs: fix CLI command syntax in Solid Start getting started guide (#6386) 2026-01-16 19:06:56 -06: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
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
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
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
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
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
Hyunjoon KIM
51ae813b65
docs(solid-start): add framework flag to solid start cli commands (#5707) 2025-11-01 10:58:22 +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
Birk Skyum
1264256770
docs(solid-start): add netlify vite plugin example (#5575) 2025-10-22 00:15:11 +02:00
autofix-ci[bot]
31834e330e
ci: apply automated fixes 2025-10-20 18:01:33 +00:00
Tanner Linsley
e004400332
Add hydration error guide page (#5532)
Add hydration errors guide for React and Solid

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-20 12:00:12 -06:00
Jimmy Callin
4693e0e3d4
docs(start): build before deploying to cloudflare workers (#5531)
add build before deploy
2025-10-19 09:55:41 +13:00
Nathaniel John Tampus
287a7e18c0
docs(start): update nitro v3 instructions for nitro alpha package (#5453) 2025-10-12 10:18:05 +02:00
Sarah
54a9d2b091
docs: Move files to Guides section (#5441)
* update page refs

* update newly broken links
2025-10-11 17:53:56 +02:00
autofix-ci[bot]
a7db57cf42
ci: apply automated fixes 2025-10-06 22:43:45 +00:00
Manuel Schiller
cb63866d15 docs: remove usage of setResponse... utilities for server routes
these utilities are not to be used  when returning a `Response` which is the case in server routes

closes #5377
2025-10-07 00:42:34 +02:00
Brenley Dueck
0d3bba8978
update solid start docs (#5347)
* update solid start docs

* rename app.config.ts
2025-10-04 12:14:13 -05:00
Jakob Norlin
e216127677
docs: update build-from-scratch replacements for SolidJS (#5216)
The docs make references to react in a lot of places. I updated the ones
I could find in the build-from-scratch guide to use proper solid-js
package names and other references.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Documentation**
- Expanded "build from scratch" guide for migrating from React to
SolidJS.
- Added comprehensive mapping of React libraries, tooling, and plugins
to Solid equivalents.
- Documents alternative React tooling options and Solid-compatible
plugin recommendations.
- Clarifies updating JSX runtime and project configuration for SolidJS.
- Describes import/usage changes and fragment/JSX differences needed for
Solid.
  - Notes removal of React-specific type artifacts during migration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

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: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
2025-09-26 00:31:48 +02:00
Tanner Linsley
e6475dac20 docs: Start overhaul
# Conflicts:
#	docs/start/config.json
#	docs/start/framework/react/hosting.md
#	docs/start/framework/react/learn-the-basics.md
#	docs/start/framework/react/middleware.md
#	docs/start/framework/react/overview.md
#	docs/start/framework/react/server-functions.md
#	docs/start/framework/react/server-routes.md
#	docs/start/framework/solid/build-from-scratch.md
#	docs/start/framework/solid/hosting.md
#	docs/start/framework/solid/learn-the-basics.md
#	docs/start/framework/solid/selective-ssr.md
2025-09-23 13:34:03 -06:00
Manuel Schiller
32faee22da
feat: Start RC (#5189)
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Co-authored-by: chorobin <chrishorobin@hotmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: hokkyss <hokkyss2@gmail.com>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2025-09-23 11:34:54 -06:00
Jakob Norlin
6202162dd3
docs: change hydration target to document.body in custom client.tsx for Solid (#5091)
Fixes #5085

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated the Solid framework “Learn the Basics” guide to correct the
client hydration example, targeting the appropriate DOM root.
* Clarifies which element to hydrate, aligning the snippet with current
best practices and reducing confusion for readers.
* Improves copy‑paste reliability of the example for newcomers following
the setup steps.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-05 19:07:19 -05:00
hokkyss
bc5e78f04c
docs(start): environment functions for createIsomorphicFn and envOnly (#4806) 2025-09-03 15:40:25 +12:00
Manuel Schiller
31783149e5 docs: document shellComponent 2025-09-02 20:55:42 +02:00
Usman S. (Max Programming)
132bd0c6d3
docs(start): build-from-scratch guide to use customVite(React/Solid)Plugin (#4678)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-17 23:00:02 +12:00
Elliot Nash
ae2e919ebf
docs(start): update hosting docs to reflect vite migration (#4575) 2025-07-06 15:04:40 +02:00
Manuel Schiller
d728d69900
feat: ssr setting per route (#4565)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-05 14:35:14 +02:00
Usman S. (Max Programming)
3e1d2f40e6
docs(guide): integrate tailwind (#4549)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-01 22:47:42 +02:00
kusiewicz
f80a52fbd4
docs(start): typo in hosting guide (#4512) 2025-06-25 15:04:26 +12:00