diff --git a/README.md b/README.md index 554cf01..5a52196 100644 --- a/README.md +++ b/README.md @@ -575,6 +575,12 @@ creating self-contained widgets that take care of their own state and lifecycle (e.g. a maps widget) or to trigger animations. Most elements shouldn't have a need for these hooks though. +### mount('selector', html) +Use `choo/mount` to mount a tree of DOMNodes at a given selector. This is +especially useful to mount a `
` tag on the document body after rendering +from the server. It makes sure all `