From 93c84a5786e8a6e24337fc27d397efabc030f7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Thu, 10 May 2018 09:28:02 +0200 Subject: [PATCH] [docs] typo --- docs/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/route.md b/docs/route.md index 4db04e5ee..630ca16b8 100644 --- a/docs/route.md +++ b/docs/route.md @@ -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.