Manuel Schiller
67b3175720
fix(react-router): correctly react to search param changes ( #2883 )
...
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-28 23:31:37 +01:00
Roberto De Lucia
70df20a53c
feat(react-router): add support for ViewTransition types ( #2862 )
...
Co-authored-by: Roberto De Lucia <roberto.delucia@sinnefo.eu>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-28 09:43:35 +13:00
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
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
Antanas Misiūnas
5f3d99be6d
docs(start): FormData to use e.currentTarget instead of e.target ( #2843 )
2024-11-26 15:12:59 +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
Naoki Takashima
2ba715790a
docs: removal of unused import variables in the examples ( #2831 )
2024-11-22 22:10:53 +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
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
Tanner Linsley
a0847cbe40
docs: add middleware to sidebar
2024-11-17 13:42:09 -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
c-louis
5998ce4e06
docs: update RouterEventsType.md missing onBeforeNavigate ( #2740 )
2024-11-12 22:39:31 +01: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
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