Skip to content

Commit

Permalink
Merge pull request remix-run#529 from johanneslumpe/patch-1
Browse files Browse the repository at this point in the history
Added state.action,  state.matches -> state.routes
  • Loading branch information
ryanflorence committed Nov 27, 2014
2 parents 2425453 + b90c62d commit 9da96b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/api/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
--------

Expand Down

0 comments on commit 9da96b4

Please sign in to comment.