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

670 commits

Author SHA1 Message Date
Sean Cassiere
563e5d168c
feat(router-generator): remove prettier ignore comment blocks (#2679) 2024-11-01 14:22:12 +13: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
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
xiaohai-huang
335fdede6a
fix(react-router): remove flashes caused by <ScrollRestoration /> (#2645)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-27 23:04:30 +01:00
Manuel Schiller
45236b7104
docs: fix clearCache description (#2660) 2024-10-27 22:23:58 +01:00
NekoChan
7dc50e6e0f
docs(react-router): remove arkTypeSearchValidator (#2657) 2024-10-27 19:30:55 +01:00
Tom Ballinger
a2e0748591
docs(start): resize Convex logo for tighter SVG (#2652) 2024-10-27 07:33:07 +01:00
Sean Cassiere
ae10503cf0
feat(react-router): add preload='render' support (#2644) 2024-10-27 14:00:55 +13:00
Can Rau
98f0c509b0
docs(react-router): fix typo in stripSearchParamsFunction.md (#2641) 2024-10-26 00:41:26 +02: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
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
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
Nicolas Beaussart
45d598240f
docs: add monorepo with simple and react query example (#2479)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-10-18 23:51:23 +02:00
Manuel Schiller
eba70d5f57
feat(react-router): add method to selectively removed cached matches (#2575) 2024-10-18 23:41:37 +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
Dmitrii Kuzmin
14b0e1d629
docs(router): update nested routes comparison (#2548) 2024-10-17 11:20:25 +13:00
Manuel Schiller
93a62724a5
feat(react-router): allow to selectively invalidate matches (#2551) 2024-10-16 20:09:42 +02:00
Manuel Schiller
69b5728e8f
fix(eslint-plugin-router): add missing properties to rule create-route-property-order (#2557) 2024-10-16 20:09:30 +02:00
Manuel Schiller
2d0ff561cc
feat(react-router): added router option search.strict (#2552)
Configures how unknown search params (= not returned by any `validateSearch`) are treated.
2024-10-16 18:27:52 +02: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
86df9e77b0
feat(react-router): allow to retain all search params via retainSearchParams (#2549) 2024-10-15 20:42:46 +02:00
Leonardo Juriolli
d9a97e2693
docs: add missing import for retainSearchParams (#2545) 2024-10-15 01:03:30 +02:00
Manuel Schiller
62e4944186
feat(start): expose all customizable vite options (#2544) 2024-10-15 00:12:40 +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
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
Manuel Schiller
6b52c3689c docs: remove outdated section 2024-10-12 22:09:33 +02:00
Bardur
63562e8553
docs: add missing spaces for comments in the installation guide (#2502) 2024-10-10 14:16:22 +13: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
Manuel Schiller
d16a5364bf
fix(react-router): only execute context when params or loader deps change (#2482)
* fix(react-router): only execute `context` when params or loader deps change

also do not pass search params into `context`, only `loaderDeps` (in analogy to `loader`)

* fix(eslint-plugin-router): update rule `create-route-property-order` to reflect `context` being dependent on `loaderDeps`

* fix(react-router): only execute `context` when necessary

* add tests
2024-10-08 19:24:18 +02: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
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