From 6f7f543b07d9e2f42d6d09eda3a2dbfb3baada34 Mon Sep 17 00:00:00 2001 From: Scotty Simpson Date: Fri, 13 Apr 2018 22:35:04 -0700 Subject: [PATCH] docs: awkward/redundant fix (#2120) --- docs/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/route.md b/docs/route.md index a883e833..0f253f5b 100644 --- a/docs/route.md +++ b/docs/route.md @@ -475,7 +475,7 @@ m.route(document.body, "/", { }) ``` -Note that in this case, if the Layout component the `oninit` and `oncreate` lifecycle methods would only fire on the Layout component on the first route change (assuming all routes use the same layout). +Note that in this case, if the Layout component has `oninit` and `oncreate` lifecycle methods, they would only fire on the first route change (assuming all routes use the same layout). To clarify the difference between the two examples, example 1 is equivalent to this code: