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

51 commits

Author SHA1 Message Date
Sean Cassiere
2cf38ac6fe
feat(start): change the variable export for API Routes (#2873) 2024-11-27 21:24:42 +13: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
Steven Yung
82996980ab
docs(start): update cloudflare-pages deployment instructions (#2744)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-18 14:57:29 +13:00
Sean Cassiere
3281f52575
docs(start): markdown linking to the middleware guide (#2791) 2024-11-18 12:30:35 +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
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
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
a66f5260ab
fix Convex logo size (#2683) 2024-10-31 11:42:38 -06: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
Tom Ballinger
a2e0748591
docs(start): resize Convex logo for tighter SVG (#2652) 2024-10-27 07:33:07 +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
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
62e4944186
feat(start): expose all customizable vite options (#2544) 2024-10-15 00:12:40 +02: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
Manuel Schiller
83bda81793
docs: correct API for route-masking (#2466) 2024-10-04 10:42:33 +02: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
Manuel Schiller
65fb5a85ba
fix(start): rename deployment config to server (#2404) 2024-09-24 01:10:08 +02:00
Sean Cassiere
b52ef9dff8
docs(router): fixing broken links (#2389) 2024-09-21 22:56:42 +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
Sean Cassiere
1a64daa5fb
docs(start): mention using the cli for hosting (#2383)
* docs(start): mention using the cli for hosting

* bit more updates
2024-09-20 10:25:34 +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
Sean Cassiere
b2b2a2359b
docs(start): fix invalid syntax in the server-functions guide (#2372) 2024-09-19 15:17:23 +12:00
Sean Cassiere
8c2fda4d70
docs(start): guide on configuring path aliases (#2371)
* docs(start): add documentation on configuring path aliases

* chore: add the new doc into the `config.json` file

* docs: update verbiage
2024-09-19 14:27:09 +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
NekoChan
f32b01daab
docs(start): fix tsconfig (#2246) 2024-09-03 11:18:28 +12:00
Tanner Linsley
a8703f017d docs: update api-routes and server-function to use vinxi 2024-08-30 10:20:40 -06:00
Sean Cassiere
03f9fc74d0
docs(start): partner logos to be visible in dark-mode (#2212)
* docs(start): databases

* docs(start): hosting

* docs(start): observability

* docs(start): fix the link

* docs(start): authentication

* docs(start): use the tracking link

* docs(start): use the tracking link

* docs(start): more tracking link stuff

* docs(start): overview
2024-08-29 15:21:43 +12:00
Sean Cassiere
d10ac646cf
docs(start): link to the file-based routing guide from the api routes guide (#2211) 2024-08-29 14:35:17 +12:00
Tom Redman
5349357863
docs(start): dark mode for the Convex logo on the "databases" guide (#2209)
* Added dark mode Convex logo

Added a dark mode Convex logo while retaining the light version, depending on the user's theme.

* update to use `raw.githubusercontent.com`

---------

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-29 12:27:59 +12:00
Sean Cassiere
dbb2b886cc
docs(start): API routes (#2202)
Docs for the API Routes in #2185.
2024-08-28 12:20:16 +12: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
8f5c76897b docs: init ssr docs 2024-08-25 21:59:09 -06:00
Tanner Linsley
17836f2e54 docs: add static prerendering 2024-08-25 21:46:21 -06: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
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
Sina Niyavarzi
8e0dd0d315
docs(start): fixed some grammatical errors in the Start "Overview" (#2170) 2024-08-23 11:22:10 +12:00
Tanner Linsley
bba02627c3 docs: partner images 2024-08-22 12:36:27 -06:00
Tanner Linsley
c068515595 docs: start typo 2024-08-22 12:31:28 -06:00
Tanner Linsley
4ce6c16050 docs: startners 2024-08-22 12:30:53 -06:00
Tanner Linsley
dd134b55e4 docs: add placeholders for pillar features and partners 2024-08-22 12:00:50 -06:00