github lynx-family/lynx-stack @lynx-js/external-bundle-rsbuild-plugin@0.4.1

latest release: @lynx-js/config-rsbuild-plugin@0.2.0
6 hours ago

Patch Changes

  • Ship the refresh runtime in the shared external bundle so it is loaded once instead of per card. (#3009)

    @lynx-js/react/refresh was missing from both the react-umd entry and the reactlynx externals preset, so every card bundled its own copy. Each copy overwrites options.debounceRendering on the shared ReactLynx runtime with a closure that defers through that card's own Promise. The last card loaded wins, and once it is destroyed its microtask queue stops draining — the lost flush leaves Preact's scheduling counter set, so no card in the shared context ever re-renders again.

    Only the development bundle carries it; the production bundle is unchanged in size.

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.