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

21 commits

Author SHA1 Message Date
Minh-Phuc Tran
20cb387523
docs(start): notFound should be imported from Router instead of Start (#3065) 2024-12-26 12:23:11 +01:00
Chris Hudson
fb016b8115
docs: clarify server functions cannot be called from Api Routes; capitalize API Routes as they are a noun and consistency with API Routes page. (#3021) 2024-12-16 23:26:06 +01:00
Manuel Schiller
5ad95cf3f7
feat(react-router): allow to redirect to external targets, add reloadDocument option (#3004)
* feat(react-router): allow to redirect to external targets, add `reloadDocument` option

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-13 12:29:33 +01:00
Adam Rackis
29619bfec8
docs: tweak server functions docs (#2951)
* start

* tweaks

* work

* work

* last tweak
2024-12-08 01:27:49 +01:00
Adam Rackis
ef99aaba7b
docs: server function docs tweaks (#2948)
* start

* tweaks

* work

* work
2024-12-07 23:23:52 +01:00
Jaga Santagostino
ceb36209ed
docs(start): add typings to JSON Parameters example (#2868) 2024-11-26 19:17:17 +01:00
Antanas Misiūnas
5f3d99be6d
docs(start): FormData to use e.currentTarget instead of e.target (#2843) 2024-11-26 15:12:59 +13:00
Leonardo Montini
a97f37ec0d
docs(start): explicitly set POST method updateCount server function examples (#2806) 2024-11-21 01:50:27 +13:00
Sean Cassiere
3281f52575
docs(start): markdown linking to the middleware guide (#2791) 2024-11-18 12:30:35 +13:00
AlexGaudon
a4cf335392
various doc fixes (#2760)
* Fixed typescript error in Basic Validation

* Added validator call for basic example

* added more inference to doc examples
2024-11-15 20:14:53 +01:00
Tanner Linsley
4d5d25bc08
Chained Server Fn Syntax, ServerFn Middleware (#2513)
* init

* Refactor createServerFn, add createServerMiddleware

* checkpoint

* checkpoint

* checkpoint

* update docs and examples to use new server function syntax

* fix: compilers, and update examples

* refactor: added merging of context and some type tests

* feat: createServerMiddleware context and input validation types

* checkpoint

* Server function middleware

* checkpoint

* checkpoint

* fix: return types from handlers, merging inputs etc

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* feat: add types for client context and server context

* fix: merge server context

* checkpoint

* docs

* fix: better compilation of server functions

* fix: deferred example

* Html, Head, Body... be GONE!

* fix: API Routes

* checkpoint

* fix: support optional input types

* checkpoint

* fix lossy merge

* ci: fix build

* ci: fix start examples

* checkpoint

* feat: add client after context types

* test: add type tests

* checkpoint

* checkpoint

* Remove now-unnecessary data type headers

* checkpoint

* fix e2e test

* fix up merge conflicts

* ci: apply automated fixes

* fix: a few tests and a runtime bug

* chore: pnpm dedupe
except the search-validator-adapters example, everything else builds fine

* fix merge conflict

---------

Co-authored-by: chorobin <chrishorobin@hotmail.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-14 09:43:20 -07:00
Manuel Schiller
77fe390ec3
fix(start): correctly handle custom response status codes (#2553)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-16 00:30:17 +02:00
Manuel Schiller
83bda81793
docs: correct API for route-masking (#2466) 2024-10-04 10:42:33 +02:00
Sean Cassiere
b2b2a2359b
docs(start): fix invalid syntax in the server-functions guide (#2372) 2024-09-19 15:17:23 +12:00
Sean Cassiere
02f4e9a3dd
docs(start): correctly import the redirect fn (#2338) 2024-09-15 12:56:54 +12:00
Manuel Schiller
d328172d10 chore: no braces for strings in JSX 2024-09-12 17:42:12 +02:00
Tanner Linsley
a8703f017d docs: update api-routes and server-function to use vinxi 2024-08-30 10:20:40 -06:00
Tanner Linsley
610fd101c7 docs: fix server function context example 2024-08-27 14:27:42 -06:00
NekoChan
edd963eff5
docs(start): incorrect import path for TanStack Query (#2187)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-26 22:47:32 +12:00
Tanner Linsley
c2d4a9e422 docs: update server functions 2024-08-25 13:53:28 -06:00
Tanner Linsley
77f32a7e6f docs: init server function docs 2024-08-25 13:38:59 -06:00