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

latest releases: @lynx-js/offscreen-document@0.1.4, @lynx-js/cache-events-webpack-plugin@0.0.2, @lynx-js/web-constants@0.16.0...
27 days ago

Patch Changes

  • Supports recyclable attribute in <list-item> to control whether the list item is recyclable. The recyclable attribute depends on Lynx Engine 3.4 or later. (#1388)

    <list-item recyclable={false} />;
  • feat: Support using a host element as direct child of Suspense (#1455)

  • Add profile in production build: (#1336)

    1. diff:__COMPONENT_NAME__: how long ReactLynx diff took.
    2. render:__COMPONENT_NAME__: how long your render function took.
    3. setState: an instant trace event, indicate when your setState was called.

    NOTE: __COMPONENT_NAME__ may be unreadable when minified, setting displayName may help.

  • Add onBackgroundSnapshotInstanceUpdateId event on dev for Preact Devtools to keep the correct snapshotInstanceId info. (#1173)

  • fix: Prevent error when spreading component props onto an element (#1459)

  • fix: Correctly check for the existence of background functions in MTS (#1416)

    function handleTap() {
      'main thread';
      // The following check always returned false before this fix
      if (myHandleTap) {
        runOnBackground(myHandleTap)();
      }
    }

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.