github lynx-family/lynx-stack @lynx-js/react@0.123.2

latest releases: @lynx-js/web-worker-rpc@0.23.1, @lynx-js/react-webpack-plugin@0.10.2, create-rspeedy@0.16.2...
4 hours ago

Patch Changes

  • Resolve the preact peer dependency to the vendored @lynx-js/internal-preact, preventing duplicate preact copies in the dependency tree. (#3276)

  • Tell the main thread when a background commit produces no element mutations. (#3010)

    When a background render commits without any snapshot patch (or ElementTemplate update op) and without any pending runOnMainThread task, __FlushElementTree is now called with emptyPatch: true. Hosts that understand the flag can end the pipeline early instead of walking the whole update path; older hosts simply ignore the unknown option, so this is safe on every engine version.

  • Optimize no-flatten attribute detection when transforming spread attributes. (#3238)

  • Add the experimental experimental_transformBuiltinAttributeNames option for transforming builtin element attribute names. false preserves attribute names. true transforms onClick to bindtap, onCatchTap to catchtap, other onXXX event names to bindxxx, and remaining camelCase names to dash-case. An object supports serializable custom rules through mode, preserve, and rename. Explicit JSX attributes are transformed during compilation, and spread attributes are transformed at runtime. (#3274)

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.