Skip to content

Commit

Permalink
[docs] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pygy committed May 10, 2018
1 parent d13a61a commit 93c84a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Argument | Type | Required | Description

#### RouteResolver

A RouteResolver is an non-component object that contains an `onmatch` method and/or a `render` method. Both methods are optional, but at least one must be present.
A RouteResolver is a non-component object that contains an `onmatch` method and/or a `render` method. Both methods are optional, but at least one must be present.

If an object can be detected as a component (by the presence of a `view` method or by being a `function`/`class`), it will be treated as such even if it has `onmatch` or `render` methods. Since a RouteResolver is not a component, it does not have lifecycle methods.

Expand Down

0 comments on commit 93c84a5

Please sign in to comment.