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

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...
9 days ago

Patch Changes

  • fix withInitDataInState got wrong state in 2nd or more times defaultDataProcessor, now it will keep its own state. (#1478)

  • change __CreateElement('raw-text') to __CreateRawText('') to avoid setNativeProps not working (#1570)

  • Fix wrong render result when using expression as key. (#1541)

    See lynx-family/lynx-stack#1371 for more details.

  • fix: Cannot read properties of undefined error when using Suspense (#1569)

  • Add animate API in Main Thread Script(MTS), so you can now control a CSS animation imperatively (#1534)

    import type { MainThread } from '@lynx-js/types';
    
    function startAnimation(ele: MainThread.Element) {
      'main thread';
      const animation = ele.animate([{ opacity: 0 }, { opacity: 1 }], {
        duration: 3000,
      });
    
      // Can also be paused
      // animation.pause()
    }

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.