JS Service 这个要怎么用,有demo么?官网上写的,表示看不懂。
JS service 和 Weex 实例在 JS runtime 中并行运行。Weex 实例的生命周期可调用 JS service 生命周期。目前提供创建、刷新、销毁生命周期。
重要提醒: JS Service 非常强大但也很危险,请小心使用!
JS Service 这个要怎么用,有demo么?官网上写的,表示看不懂。
JS service 和 Weex 实例在 JS runtime 中并行运行。Weex 实例的生命周期可调用 JS service 生命周期。目前提供创建、刷新、销毁生命周期。
重要提醒: JS Service 非常强大但也很危险,请小心使用!
doc: https://weex.apache.org/cn/re... js service 需要 在Android和iOS 都注册,前端使用, 它的生命周期是整个 App 的生命周期
@胡琦 你的 demo 看起来404了,