From b90c62d1bf88c7a6eecc6ed6cd6c1e6e1db43f4c Mon Sep 17 00:00:00 2001 From: Johannes Lumpe Date: Thu, 27 Nov 2014 11:44:13 +0200 Subject: [PATCH] Added state.action, state.matches -> state.routes --- docs/api/run.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 --------