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

633 commits

Author SHA1 Message Date
Christopher Horobin
f48dd37b35
feat: add linkOptions for re-usable props (#2486)
* feat: add `linkOptions` for re-usable props

* chore: change examples

* docs: add docs for `linkOptions`

* tests: add type tests for `linkOptions`

* chore: fix spelling

* chore: update docs and make `const`
2024-10-07 23:22: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
Danya Olekh
8804d8b6f0
Examples: remove unnecessary <Suspense> (#2458)
Co-authored-by: Dan <Dan>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-03 17:38:54 +02:00
Dominic Garms
ed8cdfb63e
fix outdated navigation hint inside the docs (#2455) 2024-10-03 12:11:16 +02:00
Miro Rauhala
6691b77346
docs: fix pathless route link (#2444) 2024-10-01 20:34:37 +02:00
Miro Rauhala
286b25b918
docs: update pathless route wording (#2445)
Removing a dot in a sentence (maybe it should've been a comma?) and create a lead for the list of uses for a pathless route.
2024-10-01 20:34:13 +02:00
Miro Rauhala
090a9043a5
docs: use guarantee instead of guaranty (#2430) 2024-09-28 14:56:52 +02:00
Lalu Arman Rozika
a42deba776
docs(router): typo about the CLI in the file-based routing guide (#2424) 2024-09-27 16:34:43 +12:00
Christopher Horobin
61cd473b0e
docs(router): fix MUI button in "custom links" guide (#2420) 2024-09-27 08:20:43 +12: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
Christopher Horobin
63c211cc91
docs: fix size of headings (#2411) 2024-09-24 21:16:06 +02:00
Christopher Horobin
808d90b599
docs: link custom link docs (#2410) 2024-09-24 21:03:18 +02:00
Christopher Horobin
f76bb37bb0
fix: allow activeProps to infer component props (#2347)
* fix: allow activeProps to infer component props

* test

* fix: make active props partial

* default props shall not override active/inactive props

* fix test

* docs: add createLink docs

* fix: make `search` optional when `to` or `from` not specified

* chore: add type tests fro `createLink`

* docs: update docs

* docs: update typo

* docs: add imports

* feat: add CreateLinkProps

* chore: fix build

---------

Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-09-24 20:47:38 +02:00
Manuel Schiller
65fb5a85ba
fix(start): rename deployment config to server (#2404) 2024-09-24 01:10:08 +02:00
Sean Cassiere
89f136784b
docs(router): broken gfm alert on "search params" guide (#2397) 2024-09-23 20:22:34 +12:00
Sean Cassiere
f36f92b459
docs(eslint-plugin-router): add content under empty headings (#2390) 2024-09-22 00:26:14 +12: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
e73a748b3f
docs(router): broken links on the file-based routing guide (#2381) 2024-09-20 07:05:22 +12:00
Sean Cassiere
5eff361103
docs(router): route-tree setup instructions for code-based routing (#2373) 2024-09-19 16:20:47 +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
Manuel Schiller
1b2208735a
feat(eslint-plugin-router): add rule to ensure correct property order for createXXXRoute functions (#2362) 2024-09-18 22:23:00 +02:00
Sang June (Josh) Rhee
b5080c6af7
docs(router): fix the import of StartServer in the SSR guide (#2358)
Since `StartServer` is exporting from `@tanstack/start/server`, the import path should be updated
2024-09-18 12:51:28 +12:00
Casey Johnson
fb9205dc9b
docs(router): correcting a variable reference in external-data-loading.md (#2355)
"client" should have been "queryClient"
2024-09-17 17:21:47 +12:00
Em Snook
474234e072
docs(router): fix typos in the overview guide (#2343) 2024-09-15 19:59:48 +12:00
Sean Cassiere
e8a968453f
chore: correctly set the typescript55 version to 5.5.2 (#2340)
* chore: correctly set the typescript test version to 5.5.2

* docs(router): callout the typescript support policy

* docs: correction its last 5 versions
2024-09-15 14:15:59 +12:00
Sean Cassiere
02f4e9a3dd
docs(start): correctly import the redirect fn (#2338) 2024-09-15 12:56:54 +12:00
Naresh Khatri
8fde2ef13d
docs(router): fix typo in the overview guide (#2329) 2024-09-14 10:03:15 +12:00
Manuel Schiller
56ce17786f docs: Link to property 2024-09-12 17:42:12 +02:00
Manuel Schiller
d328172d10 chore: no braces for strings in JSX 2024-09-12 17:42:12 +02:00
Christopher Horobin
0890710329
chore: support TS 5.6 and drop support for 5.0 (#2299) 2024-09-10 02:29:52 +02:00
Manuel Schiller
ca9b4beb29
feat(create-router): added project generator to scaffold router projects (#2300) 2024-09-10 00:41:44 +02:00
ridwansameer
89f920941b
chore(start): add Start example with supabase for auth (#2277)
* Example: Add Supabase Auth example

* Docs: Add Supabase auth to docs config

* Fix: Remove extra files and rename supabase

* Fix: remove comment

* ci: apply automated fixes

* Refactor: Rename supabase client to not violate react hook rules

---------

Co-authored-by: Ridwan Sameer <ridsameer2000@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 15:13:00 +12:00
Manuel Schiller
f64587fe83
feat(router-generator): allow virtual subtree in file based routing (#2271) 2024-09-05 23:22:06 +02:00
SeanCassiere
5f791faae8
docs: linking to the virtual files routes page 2024-09-05 10:03:07 +12:00
Manuel Schiller
a941696174
feat(router-generator): custom route tree configuration based on virtual file routes (#2265) 2024-09-04 23:37:02 +02:00
Luca Lee
82404056ac
docs(react): add missing .md extension to link paths in route-trees.md (#2252) 2024-09-03 04:30:53 +02:00
Luca Lee
ae8c33af5f
docs(react): remove reference to deleted examples in route-trees.md (#2250)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-03 11:23:39 +12:00
Luca Lee
12fd81129d
docs(router): fix broken links in route-trees.md and routing-concepts.md (#2249) 2024-09-03 11:20:07 +12:00
NekoChan
f32b01daab
docs(start): fix tsconfig (#2246) 2024-09-03 11:18:28 +12:00
Manuel Schiller
6dbe4b0eed
feat(router-generator): allow to customize index and route token (#2203)
* feat(router-generator): allow to customize `index` and `route` token

* semantically validate generator config in a single place

* ci: apply automated fixes

* remove usage of CHECK_USER_FLAGS_TO_BE_CHANGED

* check indexToken / routeToken before determining isLayout status

* use tokens with leading and trailing slashes

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-31 22:36:58 +02:00
Brian
0d77cbf2e3
docs(react): remove duplicated line in overview.md (#2236) 2024-08-31 19:42:51 +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
bf092b6956 docs: fix route trees 2024-08-29 14:01:01 -06:00
Tanner Linsley
20266513a6 docs: route tree fixes 2024-08-28 22:52:28 -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