Skip to content

@lynx-js/react@0.121.2

Choose a tag to compare

@github-actions github-actions released this 17 Jun 08:46
· 5 commits to main since this release
80e2988

Patch Changes

  • Fix addComponentElement compat transforms so explicit removeComponentElement={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 compilerOnly modes.

  • Fix directive DCE for TypeScript async output with nested "background only" directives. (#2830)

  • Rename the bundle-url element attribute to lazy-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-url to lazy-bundle-url to make its purpose explicit.