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

latest releases: @lynx-js/genui@0.7.2, @lynx-js/react-rsbuild-plugin@0.22.1, @lynx-js/vanilla-rsbuild-plugin@0.1.6...
2 hours ago

Minor Changes

  • Support Main Thread Function HMR in native ReactLynx development builds. Apply main-thread updates through native bundle loading before releasing background Fast Refresh, and refresh worklet owners when their main-thread dependencies change. Reload once if either runtime fails or times out, and preserve runtime version coordination when the development connection reconnects. (#4179)

    Accept ordinary Snapshot component and helper updates at their actual main-thread entry roots, preserving explicit HMR handlers and declines. Keep a stable main-thread registration module so the first background-only worklet added during development is registered before Fast Refresh resumes.

    Allow up to ten seconds for matching main-thread completion before timeout recovery.

    Load background HMR updates through the same Native bundle adapter, preserve the SDK runtime wrapper in per-chunk sections, and retain the original background loader on hosts without Native app-scope initialization.

  • Add the LynxTemplatePlugin option to ReactWebpackPlugin so React compilation and Native HMR hooks use the template plugin supplied by the build engine. pluginReactLynx passes the implementation exposed by pluginLynx; direct Rspack integrations keep using the one exported by @lynx-js/template-webpack-plugin by default. (#4279)

Patch Changes

  • Apply main-thread hot updates to loaded async chunks, keep async definition modules stable when worklets are added or removed, and retain background HMR on hosts without Native bundle loading. (#4179)
  • Updated dependencies [7336d1e]:
    • @lynx-js/webpack-runtime-globals@0.0.9

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.