Minor Changes
-
feat: upgrade @lynx-js/lynx-core to 0.1.2 (#465)
refactor some internal logic
- __OnLifeCycleEvent
- __OnNativeAppReady
Patch Changes
-
feat: support mts event handler (1/n) (#495)
now the main-thread:bind handler could be invoked. The params of the handler will be implemented later.
-
feat: allow multi lynx-view to share bts worker (#520)
Now we allow users to enable so-called "shared-context" feature on the Web Platform.
Similar to the same feature for Lynx iOS/Android, this feature let multi lynx cards to share one js context.
The
lynx.getSharedData
andlynx.setSharedData
are also supported in this commit.To enable this feature, set property
lynxGroupId
or attributelynx-group-id
before a lynx-view starts rendering. Those card with same context id will share one web worker for the bts scripts. -
perf: dispatchLynxViewEventEndpoint is a void call (#506)
-
Updated dependencies [
ea42e62
,a0f5ca4
]:- @lynx-js/web-worker-runtime@0.11.0
- @lynx-js/web-constants@0.11.0
- @lynx-js/web-worker-rpc@0.11.0