Open xfq opened 3 years ago
Yes, we can have the first discussion in incoming WG meeting.
At my initial thinking, I remember in one of last year's meeting, we concluded that MiniApp runtime is different from Web App and therefore to develop lifecycle spec for MiniApp. It would be good to consolidate the lifecycle of MiniApps, web app, PWA, but I am not sure whether we make it a requirement for advancing to next CR stage.
Also, since all of them are under development, and some are developed within WHATWG, I am not sure how to consolidate in an efficient way. Any thoughts?
The WG charter says "Whenever possible, the specification should provide a mapping to existing Web specifications such as Service Workers and Page Visibility."
Regarding WHATWG standards, we can first do some investigations to see which features of which standards are involved and then discuss feasible cooperation plans.
The WG charter says "Whenever possible, the specification should provide a mapping to existing Web specifications such as Service Workers and Page Visibility."
I will try to provide some mapping in the draft. Any existing spec that I can use as a reference?
Sorry, I don't have a spec for reference here. According to my understanding (of the discussion at the chartering time), the "mapping" here means that we can show how to polyfill the behavior of MiniApp Lifecycle using existing Web APIs like Service Workers in the MiniApp Lifecycle spec.
(Related to this, I remember Thomas made an early prototype of using existing Web APIs to simulate some concepts in a MiniApp.)
We also note that the Page Lifecycle document that you point to as comparison is out of date and itself needs to be updated (in particular to reflect installation via Manifest, which is missing).
I just took a look and found that the Page Lifecycle spec is indeed not active. The last update to the spec was in September 2019.
We also note that the Page Lifecycle document that you point to as comparison is out of date and itself needs to be updated (in particular to reflect installation via Manifest, which is missing).
I just took a look and found that the Page Lifecycle spec is indeed not active. The last update to the spec was in September 2019.
So should we keep it in the explainer?
We also note that the Page Lifecycle document that you point to as comparison is out of date and itself needs to be updated (in particular to reflect installation via Manifest, which is missing).
I just took a look and found that the Page Lifecycle spec is indeed not active. The last update to the spec was in September 2019.
So should we keep it in the explainer?
Because the proposal is not deprecated in WICG, IMHO we should keep it for now. We can ask the TAG if that's fine.
Because the proposal is not deprecated in WICG, IMHO we should keep it for now. We can ask the TAG if that's fine.
I think you can either 1) take on Page Lifecycle or 2) absorb Page Lifecycle into a singular lifecycle spec, and officially deprecate it. Ideally, we think work should happen on both specs - we'll follow up on this.
Because the proposal is not deprecated in WICG, IMHO we should keep it for now. We can ask the TAG if that's fine.
I think you can either 1) take on Page Lifecycle or 2) absorb Page Lifecycle into a singular lifecycle spec, and officially deprecate it. Ideally, we think work should happen on both specs - we'll follow up on this.
Thanks for TAG's further followup on this. We look forward to TAG's further suggestion on this.
As for Page Lifecycle, since it's WICG's work item, I am not sure whether there is interest from other groups to develop it. Maybe someone needs to ask WICG's opinion and plan on this spec.
From https://github.com/w3ctag/design-reviews/issues/523#issuecomment-920704365 :
We need to look at how to deal with these questions.