docs: latest site updates (#2126)
This commit is contained in:
parent
6fb77b7771
commit
c335aa70ca
6 changed files with 27 additions and 27 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue