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

latest releases: @lynx-js/web-core-server@0.19.0, @lynx-js/template-webpack-plugin@0.9.2, @lynx-js/css-extract-webpack-plugin@0.6.5...
20 hours ago

Minor Changes

  • BREAKING CHANGE: Delay the createSnapshot operation to Snapshot constructor to speed up IFR. (#1899)

    This change refactors how snapshots are created and registered:

    • Removed the entryUniqID function
    • Snapshots are now lazily created via snapshotCreatorMap instead of eagerly at bundle load time
    • Snapshot IDs are generated at compile time and only prefixed with ${globDynamicComponentEntry}: for standalone lazy bundles

    ⚠️ Lazy Bundle Compatibility:

    • Backward compatibility (new runtime → old lazy bundles): ✅ Supported. Old lazy bundles will work with the new runtime.

    • Forward compatibility (old runtime → new lazy bundles): ❌ NOT Supported. Lower version consumers will not be able to load lazy bundles produced by this version due to the changed snapshot creation mechanism.

    Migration guidance:
    If you are using lazy bundles, ensure all consumers are upgraded to this version or later before deploying lazy bundles built with this version. For monorepo setups, coordinate the upgrade across all consuming applications.

Patch Changes

  • Preserve assignments to webpack runtime variables like __webpack_public_path__, __webpack_require__.p, etc. (#1958)

  • Fixed blank screen issues with nested lists. Lazily created nested lists were being flushed but not properly recorded, causing rendering failures. (#1963)

  • fix: export createRef and useRef from @lynx-js/react/legacy-react-runtime (#1953)

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.