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

1,257 commits

Author SHA1 Message Date
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
SeanCassiere
46634d8523
docs(router): fix broken syntax in the quick-start guide 2025-01-31 08:24:17 +13:00
Manuel Schiller
4f54803e89 docs: scrollRestoration default and replace deprecated <ScrollRestoration> 2025-01-30 19:44:16 +01:00
Manuel Schiller
e6aed4c457 docs(react-router): remove lazy from quickstart, auto code splitting instead 2025-01-30 19:28:15 +01:00
Tanner Linsley
4033f3a53d docs: fix server component statement 2025-01-30 09:39:39 -07:00
Tanner Linsley
044ff1c315 docs: better quick start 2025-01-29 22:56:41 -07:00
Tanner Linsley
970b649fcf fix: links from start to router 2025-01-29 22:17:33 -07:00
Tanner Linsley
2c35299f5d docs: Separate Start Docs 2025-01-29 21:47:58 -07:00
Manuel Schiller
fdaefc035d
fix: Fix scroll restoration (#3191)
* fix: scroll-restoration (especially on hydration mismatch)

* fix: more fixes

* fix canGoBack

* release: v1.97.25

* chore(root): upgrade `vitest` to `3.0.4` (#3257)

* chore(root): upgrade `nx` to `20.4.0` (#3259)

* fix(react-router): improve error handling for module loading failures in lazyRouteComponent (#3262)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* fix(start-server): remove debugging timeout (#3258)

* fix(start-plugin): invoke server implementation of createIsomorphicFn during SSR (#3268)

* feat(react-router): add `remountDeps` (#3269)

* fix: RELEASE_ALL

RELEASE_ALL

* examples: remove dep (#3270)

* release: v1.98.0

* checkpoint

* fix tests

* tests: fix

* fix: back to old onRendered

* fix: scroll-restoration (especially on hydration mismatch)

* fix: more fixes

* fix canGoBack

* checkpoint

* fix tests

* tests: fix

* fix: back to old onRendered

* Move utils to core

* fix: backwards compat ScrollRestoration

* fix: better versioning

* fix: reenable hash scrolling and window reset even without scroll restoration

* test(e2e): renable tests for router

* fix: backwards compat and docs

---------

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Flo <fpellet@ensc.fr>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Grant <1670902+djgrant@users.noreply.github.com>
2025-01-29 14:50:54 -07:00
Manuel Schiller
34d03505ef
feat(react-router): add remountDeps (#3269) 2025-01-29 01:03:33 +01:00
Nicolas Beaussart
9386f15779
chore(examples): fix link for monorepo basic lazy loading (#3248) 2025-01-26 23:33:40 +01:00
Leonardo Montini
493a36476f
docs(router): improve data mutations libraries list readability (#3246) 2025-01-27 11:02:40 +13:00
Nicolas Beaussart
ed09f91a1e
docs(examples): add lazy loaded monorepo example (#3244)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-27 11:01:38 +13:00