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

20 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
Sean Cassiere
5b6fd04ec4
docs: differentiate between "layout" and "pathless layout" routes (#3599) 2025-02-28 11:43:21 +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
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
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
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
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
Pikachews
74afefee26
docs(start): fix createRouter call (#3290) 2025-02-01 00:10:59 +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
Manuel Schiller
4f54803e89 docs: scrollRestoration default and replace deprecated <ScrollRestoration> 2025-01-30 19:44:16 +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