Clarify documentation on id overwrite
This commit is contained in:
@@ -140,6 +140,9 @@ const mainView = (params, state, send) => choo.view`
|
|||||||
`
|
`
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_Note_: if an `id` property is defined on the outer-most element it will be
|
||||||
|
replaced.
|
||||||
|
|
||||||
We then bind the view to the `/` route on our application
|
We then bind the view to the `/` route on our application
|
||||||
```js
|
```js
|
||||||
app.router((route) => [
|
app.router((route) => [
|
||||||
|
|||||||
Reference in New Issue
Block a user