github lynx-family/lynx-stack @lynx-js/react-webpack-plugin@0.6.8

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...
5 months ago

Patch Changes

  • Shake useImperativeHandle on the main-thread by default. (#153)

    import { forwardRef, useImperativeHandle } from '@lynx-js/react';
    
    export default forwardRef(function App(_, ref) {
      useImperativeHandle(ref, () => {
        // This should be considered as background only
        return {
          name() {
            // This should be considered as background only
            console.info('This should not exist in main-thread');
          },
        };
      });
    });
  • Avoid wrapping standalone lazy bundles with var globDynamicComponentEntry. (#177)

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.