Minor Changes
-
Add the experimental
experimental_reEvalJSOnReloadoption. When it is enabled,reloadTemplateevaluates 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
reloadCardfrom the Lynx client. Without it, the background keeps the existing reload behavior.
Patch Changes
- Preserve imports such as
runOnBackgroundwhen injecting background-only worklet definitions into the main thread. Keep imported bindings isolated between definitions and resolve relative imports from their original module. (#4221)