Merge pull request #210 from clkao/patch-1

Fix link to rehydration doc
This commit is contained in:
Yoshua Wuyts
2016-08-03 15:25:17 +02:00
committed by GitHub
+1 -1
View File
@@ -518,7 +518,7 @@ aren't loaded.
Start the application. Returns a tree of DOM nodes that can be mounted using Start the application. Returns a tree of DOM nodes that can be mounted using
`document.body.appendChild()`. If a valid `id` selector is passed in as the `document.body.appendChild()`. If a valid `id` selector is passed in as the
first argument, the tree will diff against the selected node rather than be first argument, the tree will diff against the selected node rather than be
returned. This is useful for [rehydration](#rehydration). Opts can contain the returned. This is useful for [rehydration](https://github.com/yoshuawuyts/choo-handbook/blob/master/rendering-in-node.md#rehydration). Opts can contain the
following values: following values:
- __opts.history:__ default: `true`. Enable a `subscription` to the browser - __opts.history:__ default: `true`. Enable a `subscription` to the browser
history API. e.g. updates the internal `location.href` state whenever the history API. e.g. updates the internal `location.href` state whenever the