Skip to content

@lynx-js/react-webpack-plugin@0.14.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 14:08
· 1 commit to main since this release
cb149a3

Minor Changes

  • Add the experimental experimental_reEvalJSOnReload option. When it is enabled, reloadTemplate evaluates the main-thread and background entries again, so module-level state starts over while the native element tree is reused. It is disabled by default. (#4026)

    Re-evaluating the background entry requires reloadCard from the Lynx client. Without it, the background keeps the existing reload behavior.

Patch Changes

  • Preserve imports such as runOnBackground when injecting background-only worklet definitions into the main thread. Keep imported bindings isolated between definitions and resolve relative imports from their original module. (#4221)