Adam Rackis
a0c294c0c7
docs(router): usage of accessing the loaderData on the data-loading guide ( #2864 )
...
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-26 16:55:22 +13:00
Julia Passynkova
aceca1cf0f
docs: clarification for Route object ( #2838 )
...
* 2821: Doc clarification for Route object
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-24 13:46:18 +01:00
Julia Passynkova
24fb41e1e4
docs(router): typo in the usage of route masks ( #2812 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-21 21:36:07 +13:00
聪小陈
c991304380
docs(router): usage of imports for auth on authentication guide ( #2813 )
2024-11-21 21:17:29 +13:00
Leonardo Montini
a97f37ec0d
docs(start): explicitly set POST method updateCount server function examples ( #2806 )
2024-11-21 01:50:27 +13: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
0873c1f0c9
feat(react-router): add support for structural sharing for finegrained selectors ( #2647 )
...
Co-authored-by: chorobin <chrishorobin@hotmail.com>
2024-11-09 22:41:12 +01:00
alma-lp
cc05ad8205
feat(react-router): allow unencoded characters in dynamic path segments ( #2677 )
2024-11-05 22:08:21 +13:00
Nick Mackenzie
d13de07230
docs: revise wording in TanStack Router documentation ( #2697 )
2024-11-04 23:37:35 +01:00
Sean Cassiere
563e5d168c
feat(router-generator): remove prettier ignore comment blocks ( #2679 )
2024-11-01 14:22:12 +13:00
Manuel Schiller
0e3fae1edd
fix(react-router): improve types for parentMatchPromise ( #2669 )
2024-10-29 18:52:57 +01:00
Manuel Schiller
019f9d1824
fix(react-router): parentMatchPromiseresolves to parent match ( #2666 )
2024-10-28 22:16:03 +01:00
NekoChan
7dc50e6e0f
docs(react-router): remove arkTypeSearchValidator ( #2657 )
2024-10-27 19:30:55 +01:00
Sean Cassiere
ae10503cf0
feat(react-router): add preload='render' support ( #2644 )
2024-10-27 14:00:55 +13:00
Ben McGinnis
cea5a11527
feat(router-plugin): add esbuild plugin ( #2578 )
...
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-10-22 13:21:07 +13:00
Christopher Horobin
5d62c032f7
feat(react-router): implement standard schema into router core ( #2602 )
...
* feat: implement standard schema into router core
* docs: update docs to exclude valibot adapter
* chore
* tests: add tests for valibot
* chore: update docs and tests for arktype
* docs: update docs
2024-10-21 23:23:29 +02:00
Christoffer Berg Jensen
5cc2f9f1b0
docs: add to createLink documentation ( #2506 )
...
* Refactor `createLink` documentation
Revise the text and examples in the `createLink` guide for better clarity and completeness. Added sections for React Aria Components, Chakra UI, and MUI with detailed code examples to illustrate the usage of third-party libraries.
* Improve clarity in custom-link.md
* Replace createLink implementation for ButtonLink component
* Remove redundant explanation in MUI example of custom-link guide
* Rename and simplify component creation in CustomLink guide
* Rename and streamline custom link components
* Fix consistency in prop quoting and remove unused import
* Small consistency improvements between examples
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-10-21 10:07:10 +02:00
Manuel Schiller
30730a383d
feat(react-router): allow to explicitly check if a search prop is not set ( #2592 )
2024-10-20 02:35:42 +02:00
Manuel Schiller
ac7171c7e1
feat(react-router): execute search middlewares also upon navigation ( #2581 )
2024-10-18 22:47:18 +02:00
Manuel Schiller
8d56157b07
feat(react-router): add stripSearchParams middleware ( #2579 )
2024-10-18 22:33:18 +02:00
Leonardo Juriolli
d9a97e2693
docs: add missing import for retainSearchParams ( #2545 )
2024-10-15 01:03:30 +02:00
Manuel Schiller
60b3f37e32
feat(react-router) add search middleware ( #2521 )
...
* feat(react-router) add search middleware
* add `retainSearchParams` middleware
* simplified types
* added docs
2024-10-14 20:34:35 +02:00
Manuel Schiller
6b52c3689c
docs: remove outdated section
2024-10-12 22:09:33 +02:00
Manuel Schiller
a82bfa1e11
feat(router-generator): allow virtual file routes without file names ( #2500 )
2024-10-09 22:17:19 +02:00
Sean Cassiere
ac39caa8db
docs: less disruptive file-based routing guide regarding virtual routes ( #2497 )
2024-10-09 22:09:05 +13:00
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
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
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
Christopher Horobin
63c211cc91
docs: fix size of headings ( #2411 )
2024-09-24 21:16:06 +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
Sean Cassiere
89f136784b
docs(router): broken gfm alert on "search params" guide ( #2397 )
2024-09-23 20:22:34 +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
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
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
Manuel Schiller
56ce17786f
docs: Link to property
2024-09-12 17:42:12 +02: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
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