Skip to content

Commit 9da96b4

Browse files
committed
Merge pull request #529 from johanneslumpe/patch-1
Added state.action, state.matches -> state.routes
2 parents 2425453 + b90c62d commit 9da96b4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/api/run.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for you to render.
5555

5656
An object containing the matched state.
5757

58-
##### `state.matches`
58+
##### `state.routes`
5959

6060
An array of the matched [routes][1]. Very useful for fetching data before
6161
rendering.
@@ -74,6 +74,10 @@ The active query in the location match.
7474

7575
The path matched.
7676

77+
#### `state.action`
78+
79+
The action that lead to the route change.
80+
7781
Examples
7882
--------
7983

0 commit comments

Comments
 (0)