Clarify documentation on id overwrite

This commit is contained in:
Todd Kennedy
2016-06-15 20:16:03 -07:00
parent 25fb0c1bdf
commit 85d2ec3632
+3
View File
@@ -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) => [