Newstack v0.0.44
Changelog
[0.0.44] — 2026-04-10
Fixed
- Fragment-returning components not registering correctly — when a component's
render()returns a Fragment (e.g. to include a<head>block alongside the main element),data-newstackwas being set on the Fragment vnode itself which gets dropped.setComponentMarkernow resolves through Fragments, arrays, and<head>vnodes to stamp the attribute on the first real DOM element, so the component is found correctly bycomponentElements. - Event handlers not attached after Fragment re-renders —
updateComponentwas passing the Fragment vnode topatchElement, whosevnodeChildrenwould be[head-vnode, div-vnode]instead of the div's actual children.resolveToElementVNodenow unwraps to the real element vnode sovnodeChildrenaligns with DOM children andonclickhandlers are wired correctly.
Full Changelog: newstack-v0.0.43...newstack-v0.0.44