@b9g/crank 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crank.cjs +4 -1
- package/crank.cjs.map +1 -1
- package/crank.js +4 -1
- package/crank.js.map +1 -1
- package/package.json +1 -1
- package/umd.js +4 -1
- package/umd.js.map +1 -1
package/package.json
CHANGED
package/umd.js
CHANGED
|
@@ -661,7 +661,10 @@
|
|
|
661
661
|
}
|
|
662
662
|
function commitHost(renderer, scope, ret, childValues, oldProps, hydrationValue) {
|
|
663
663
|
const tag = ret.el.tag;
|
|
664
|
-
let value =
|
|
664
|
+
let value = ret.value;
|
|
665
|
+
if (hydrationValue != null) {
|
|
666
|
+
value = ret.value = hydrationValue;
|
|
667
|
+
}
|
|
665
668
|
let props = ret.el.props;
|
|
666
669
|
let copied;
|
|
667
670
|
if (tag !== Portal) {
|