Skip to content

Commit 51f056f

Browse files
cexbrayatthePunderWoman
authored andcommitted
docs(router): clarify route resource parameters
(cherry picked from commit 40f8268)
1 parent 949d66c commit 51f056f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎adev/src/content/guide/routing/data-fetching-with-resources.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ TIP: If a resource depends on data from another resource, you can compose the re
6969

7070
### ResourceContext
7171

72-
The `resources` function receives a `ResourceContext` providing access to route signals (such as `params`, `queryParams`, and `data`) as well as the static `snapshot`.
72+
The `resources` function receives a `ResourceContext` providing access to reactive route signals, including path and matrix parameters through `params`, as well as `queryParams`, `fragment`, and `data`.
7373

7474
### Resource implementations and async configuration
7575

‎packages/router/src/models.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export type ResourceResult = Record<string, Resource<unknown>>;
3939
*/
4040
export interface ResourceContext {
4141
/**
42-
* The matrix parameters of the route.
42+
* The path and matrix parameters available to the route.
4343
*
4444
* @developerPreview 22.2
4545
*/

0 commit comments

Comments
 (0)