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

18 commits

Author SHA1 Message Date
Ephraim Duncan
953e7b6b32
docs(start): broken link to "preloading" from "getting started" (#2898) 2024-12-02 13:28:55 +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
4ae6ca9d6b
feat(start): move scripts,links, and meta to the head (#2571)
This minor is non-breaking for Router users, since it's undocumented to the public API, but **is breaking** for Start alpha users. 

This changes the options signature for meta from this:
```tsx
createRoute({
  meta: () => [
    ...
  ],
  links: () => [
    ...
  ],
})
```

to this:

```tsx
createRoute({
  head: () => ({
    meta: [
      ...
    ],
    links: [
      ...
    ],
  })
})
```
2024-11-17 15:19:18 -07:00
Jakob Norlin
94347ae78a
Fix updateCount payload in getting-started guide (#2775) 2024-11-15 21:25:59 +01:00
Jonathan Hutchison
12283041a6
Update getting started docs (#2757) 2024-11-14 21:34:12 +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
Naman Gupta
1cdfd1f865
docs(start): update root route in the getting-started.md (#2686)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 14:06:34 +13:00
Tom Ballinger
2c4ff9162c
docs(start): remove an extra comma (#2670)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-29 21:56:43 +01:00
Andreas Adam
8b7d8e3af5
docs(start): update the getting-started guide's template (#2607)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-22 12:52:34 +13:00
autofix-ci[bot]
f829d5afa5
ci: apply automated fixes 2024-10-13 06:07:42 +00:00
narangkay
78f3ea1c05
Remove trailing comma to make json happy (#2527) 2024-10-13 08:06:47 +02:00
J. G. Sebring
fd53d037de
docs(start): enable strictNullChecks (#2467) 2024-10-05 12:03:55 +13:00
Henrique Kirch Heck
a2373db228
docs(examples): declare vinxi type references (#2423)
* fix: Fixed type errors with assets

* docs: added fix to getting started docs
2024-09-27 08:17:16 +12:00
Sean Cassiere
7442812aaf
chore(examples): cleanup the deps for the start examples (#2388)
* chore(examples): cleanup the deps for the start examples

* docs(start): update the link to the start-counter example

* chore(e2e): remove lint and format scripts for the e2e sandboxes
2024-09-21 22:21:59 +12:00
willenleal
230c460f4d
docs(start): better info on hosting (#2380)
* docs(start): clarify running builds locally

* docs: improve upon the base

---------

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-20 07:57:17 +12:00
NekoChan
f32b01daab
docs(start): fix tsconfig (#2246) 2024-09-03 11:18:28 +12:00
Sean Cassiere
cabd42686e
docs(start): markdown to follow the website flow (#2173)
* docs(start): markdown to follow the website flow

* docs(start): fixup the content hierarchy for the getting started guide
2024-08-23 19:31:49 +12:00
Tanner Linsley
52155a28aa docs: init start docs 2024-08-22 11:15:20 -06:00