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

latest releases: @lynx-js/rspeedy@0.12.5, @lynx-js/web-worker-runtime@0.19.4, @lynx-js/web-rsbuild-server-middleware@0.19.4...
6 days ago

Patch Changes

  • Add dual-thread commutation logs for troubleshooting when REACT_ALOG=true or global define __ALOG__ is set. (#2081)

  • Use error cause to simplify the error msg of lazy bundle loading. User can catch the error cause to get the original result: (#2056)

    const LazyComponent = lazy(async () => {
      try {
        const mod = await import('./lazy-bundle');
        return mod.default;
      } catch (error) {
        console.error(`Lazy Bundle load failed message: ${error.message}`);
        // User can catch the error cause to get the original result
        console.error(`Lazy Bundle load failed result: ${error.cause}`);
        throw error;
      }
    });

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.