Patch Changes
-
Add typed
MainThreadObjecthandles whose target factory is defined by a Main Thread Function, with identity-preserving capture and hydration, runtime-owned reference release, and exact-type handle downcasting for readonly creation-payload access. V1 intentionally exposes no user-land disposal API. Applications import the APIs from@lynx-js/react. (#3788) -
Preserve MainThreadObject identity in member and nested captures, and support Main Thread object methods with receiver-bound captures. (#3789)
-
Keep the main-thread chunks of lazy bundles out of
splitChunks. They no longer carry__main-threadin their name sincewebpackChunkNamestopped being injected, so they are now detected by their runtime. (#4104) -
Updated dependencies [
9fd8712,18327c5,9484386]:- @lynx-js/css-extract-webpack-plugin@0.11.1
- @lynx-js/react-webpack-plugin@0.12.1
- @lynx-js/react-alias-rsbuild-plugin@0.20.4
- @lynx-js/use-sync-external-store@1.5.0
- @lynx-js/react-refresh-webpack-plugin@0.4.3
- @lynx-js/template-webpack-plugin@0.16.3
- @lynx-js/rsbuild-plugin@0.1.4