Merge pull request #48 from toddself/choo-root-note

Clarify documentation on id overwrite
This commit is contained in:
Yoshua Wuyts
2016-06-16 12:50:50 +02:00
committed by GitHub
+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
```js
app.router((route) => [