Patch Changes
-
Fix
addComponentElementcompat transforms so explicitremoveComponentElement={true}is honored consistently even when it appears before a JSX spread like{...props}. (#2758)Previously, the compat transform could short-circuit while scanning opening attributes and treat:
<Component removeComponentElement={true} {...props} />;
differently from:
<Component {...props} removeComponentElement={true} />;
The transform now collects the full opening-attribute state first, so both prop orders compile the same way in normal and
compilerOnlymodes. -
Fix directive DCE for TypeScript async output with nested
"background only"directives. (#2830) -
Rename the
bundle-urlelement attribute tolazy-bundle-url. (#2723)The attribute set on lazy bundle border elements (when a child belongs to a different lazy bundle entry than its parent) is renamed from
bundle-urltolazy-bundle-urlto make its purpose explicit.