If a component queues a VDOM update (e.g. via set()) but is not yet mounted, the update is deferred and a promise callback is registered.
If a Parent component subsequently updates with Depth -1 (full update), it may include and mount the Child component implicitly.
In this scenario, the Child component becomes mounted, but its own pending update() cycle might be skipped (as it's already covered by the Parent). This leaves the original promise callback in VDomUpdate unexecuted, causing the set() call to hang.
Fix:
In src/component/Abstract.mjs, update afterSetMounted to call VDomUpdate.executeCallbacks(me.id) when mounted becomes true. This ensures that any pending promises waiting for the mount/update are resolved immediately.
If a component queues a VDOM update (e.g. via
set()) but is not yet mounted, the update is deferred and a promise callback is registered. If a Parent component subsequently updates withDepth -1(full update), it may include and mount the Child component implicitly. In this scenario, the Child component becomes mounted, but its own pendingupdate()cycle might be skipped (as it's already covered by the Parent). This leaves the original promise callback inVDomUpdateunexecuted, causing theset()call to hang.Fix: In
src/component/Abstract.mjs, updateafterSetMountedto callVDomUpdate.executeCallbacks(me.id)whenmountedbecomestrue. This ensures that any pending promises waiting for the mount/update are resolved immediately.