diff --git a/docs/api/run.md b/docs/api/run.md index 7bf530fe96..1638663f38 100644 --- a/docs/api/run.md +++ b/docs/api/run.md @@ -55,7 +55,7 @@ for you to render. An object containing the matched state. -##### `state.matches` +##### `state.routes` An array of the matched [routes][1]. Very useful for fetching data before rendering. @@ -74,6 +74,10 @@ The active query in the location match. The path matched. +#### `state.action` + +The action that lead to the route change. + Examples --------