@b9g/crank 0.7.4 → 0.7.5
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 +5 -0
- package/crank.cjs.map +1 -1
- package/crank.js +5 -0
- package/crank.js.map +1 -1
- package/package.json +1 -1
- package/umd.js +5 -0
- package/umd.js.map +1 -1
package/crank.cjs
CHANGED
|
@@ -2116,6 +2116,11 @@ function propagateComponent(ctx) {
|
|
|
2116
2116
|
if (!isRetainerActive(initiator, host)) {
|
|
2117
2117
|
return;
|
|
2118
2118
|
}
|
|
2119
|
+
// Check if host has been committed (has a node)
|
|
2120
|
+
// Fixes #334: refresh() called before component yields
|
|
2121
|
+
if (!getFlag(host, DidCommit)) {
|
|
2122
|
+
return;
|
|
2123
|
+
}
|
|
2119
2124
|
const props = stripSpecialProps(host.el.props);
|
|
2120
2125
|
const hostChildren = getChildValues(host, 0);
|
|
2121
2126
|
ctx.adapter.arrange({
|