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

819 commits

Author SHA1 Message Date
Julian Klumpers
5e6a774275
docs: Update server-functions.md docs (#3628)
Added clear description add the top that server functions cannot be
called from API Routes.
2025-03-02 19:39:04 +01:00
Raymond Kneipp
d8878af647
docs(start): fix installation script in "build-from-scratch" guide (#3623) 2025-03-02 17:10:34 +13:00
Melvin Valster
96d84eb062
docs: Provide default RegisteredRouter type in type-utilities examples (#3604)
The docs don't provide the default `RegisteredRouter` assignment for all
the type generics.
2025-02-28 12:39:08 +01:00
Russ Painter
b125dd5de8
Documentation proofreading (#3603)
Just some typos and a clarification in the docs.
2025-02-28 12:38:02 +01:00
Sean Cassiere
5b6fd04ec4
docs: differentiate between "layout" and "pathless layout" routes (#3599) 2025-02-28 11:43:21 +13:00
Sean Cassiere
6e5cf1f603
chore(examples): add more file-based solid-router examples (#3585) 2025-02-27 14:26:11 +13:00
Sean Cassiere
4c9eecd8d3
docs(solid-router): missing steps for tsconfig.json (#3584) 2025-02-27 13:31:02 +13:00
KoolieKangarooMjolner
de44ad7b78
docs(react-router): update import from viteReact to react (#3574)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-27 13:19:00 +13:00
omar
e2baa29fcc
docs(start): missing syntax snippet from static-prerendering guide (#3581)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-27 09:55:39 +13:00
Vikas Wakde
66991ddfbf
docs: fix path-params guide link in file-naming-conventions.md (#3576)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-27 08:33:42 +13:00
Manuel Schiller
71acc58835
fix: move to react-start (#3573) 2025-02-26 11:16:23 +01:00
Sean Cassiere
ab9c7f5272
docs(router): cleanup reference page for "file-based-routing" (#3569) 2025-02-26 13:41:21 +13:00
SeanCassiere
5fa2bb21f6
docs(router): rename from "guide" to "guides" 2025-02-26 12:43:40 +13:00
Sean Cassiere
74a3a06267
refactor: move routing documentation into its own section (#3567) 2025-02-26 12:33:22 +13:00
Manuel Schiller
0c0af97063 docs: rename to @tanstack/react-start 2025-02-25 22:17:33 +01:00
Tomasz Ducin
98465e1326
docs(router): syntax mistake in "document head management" guide (#3564)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
fixes #3542
2025-02-26 08:05:09 +13:00
Tomasz Ducin
9a7e0da4ce
docs: router docs update; fixes #3534 (#3562) 2025-02-25 19:02:42 +01:00
Kyle Gill
3520eab8b3
docs(router): remove inline TOC in routing concepts guide (#3543)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-25 11:30:22 +13:00
Sean Cassiere
d9eab3d7d6
refactor: autoCodesplitting for all (#3544) 2025-02-24 21:43:55 +13:00
Jaga Santagostino
bd73081462
docs(start): fix broken link to router docs (#3539) 2025-02-24 10:09:14 +13:00
Tanner Linsley
7081bee0b6
fix: global middleware (#3501)
Fixes global middleware via a new `app/global-middleware.ts` file
(configurable path) that is side-loaded automatically into the client
and server-fn environment to ensure registerGlobalMiddleware will run in
both environments

Fixes #3315

---------

Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-02-23 02:45:02 +01:00
Alex McLean
9864b67c86
docs(start): clarify that __root.tsx has two _ characters (#3523) 2025-02-23 12:53:46 +13:00
Sean Cassiere
76fb478cb0
docs(router): move root guides to "react" and reference in "solid" (#3519) 2025-02-22 22:47:51 +13:00
Sean Cassiere
c37d8afd45
docs(router): add existing solid examples (#3516) 2025-02-22 16:13:50 +13:00
Sean Cassiere
8678c30b00
docs(router): backfill guides for solid-router (#3509) 2025-02-22 15:52:50 +13:00
espada-edalex
5099513449
chore: update 404 route docs for file-based routing (#3506) 2025-02-21 22:54:28 +01:00
Birk Skyum
185f53691e
docs(solid-router): add getting-started pages (#3481)
* add solid installation guide

* ci: apply automated fixes

* remove react native notice

* add quck-start and overview

* solid-router imports

* move the overview to core

* ci: apply automated fixes

* add overview core page

* fix import of solidjs render

* className -> class

* fix solid overview page

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-21 13:16:01 -07:00
sai nivas mangu
605faf200e
docs(router): fix missing "of" in "overview.md" (#3502) 2025-02-21 19:20:40 +13:00
espada-edalex
a4619369d9
docs(router): typo in description of "route.tsx" files (#3500) 2025-02-21 19:20:22 +13:00
Jack Herrington
12ab448252
fix: doc fix for createRootRoute (#3487) 2025-02-21 00:10:02 +01:00
Christopher Horobin
7ce39ef6eb
doc: fix headings for type utilities (#3495) 2025-02-20 23:07:11 +01:00
Christopher Horobin
16a9c9e2bb
feat(react-router): final type utilities (#3485)
* feat(react-router): final type utilities

* docs(react-router): add type utilities docs
2025-02-20 22:52:57 +01:00
David Burles
b299ee8dae
docs(router): update notFound whole page example (#3466) 2025-02-20 00:57:38 +13:00
Manuel Schiller
391fbadac3
feat(start): add AbortSignal for server functions (#3477) 2025-02-19 01:49:53 +01:00
Christopher Horobin
2dd5b95a6a
refactor: remove clientAfter (#3426)
* refactor: remove clientAfter

* perf(start): add middleware types interface to avoid structural comparison

* docs(start): update to include inferring context from server to client
2025-02-18 17:37:56 +01:00
Manuel Schiller
4ba035488e docs: react 18 or 19 in router installation 2025-02-15 14:28:27 +01:00
Tanner Linsley
22da8822f3 docs: more 2025-02-14 22:37:33 -07:00
Tanner Linsley
b6fed0a512 docs: add head management initial docs 2025-02-14 21:02:49 -07:00
Manuel Schiller
4c7caeba94
feat: replace <Meta /> by <HeadContent /> and add dedicated headScripts (#3439) 2025-02-14 23:19:01 +01:00
Tanner Linsley
2e74974c66
feat: static server functions (#3352)
* We're back baby!

fix: type: 'static', .type(type | () => type)

fix: allow customizing the serverFnStaticCache impl

fix: also allow for customizing the client side fetch, duh

* docs: static server function docs

* fix: remove unnecessary tuple option

* fix: createServerFnStaticCache import location

* fix: lockfile

* fix: types
2025-02-12 16:23:30 -07:00
Ben Fleming
1a6e3af75b
fix(router-generator): prevent route file being auto-formatted during updates (#3366) 2025-02-12 20:12:04 +01:00
Tanner Linsley
d870c68748
fix: allow custom scrollToTop selectors (#3398) 2025-02-11 16:42:37 -07:00
Leonardo Montini
0581857051
docs(router): more recommendations for route tree file opening unexpectedly on vscode (#3377) 2025-02-09 22:16:10 +01:00
Manuel Schiller
28963a2a4c docs: quickstart 2025-02-09 22:13:05 +01:00
Manuel Schiller
3b158d0ab0
feat(react-router): add shouldThrow option to useParams and useSearch (#3368) 2025-02-08 22:36:40 +01:00
Sean Cassiere
71784371c2
docs(router): warning on serialization with Base64 (#3342) 2025-02-06 15:30:51 +13:00
Pikachews
74afefee26
docs(start): fix createRouter call (#3290) 2025-02-01 00:10:59 +01:00
Jaga Santagostino
d90d517940
docs(router): add missing import in outlets.md snippet (#3292) 2025-02-01 00:10:43 +01:00
Tanner Linsley
ef79114f20 Merge branch 'main' of https://github.com/TanStack/router
# Conflicts:
#	docs/router/framework/react/guide/tanstack-start.md
#	docs/start/framework/react/build-from-scratch.md
2025-01-30 15:45:35 -07:00
Tanner Linsley
74f933aa58 examples: <ScrollRestoration/> => scrollRestoration: true 2025-01-30 15:44:57 -07:00