w3c / miniapp-lifecycle

MiniApp Lifecycle
https://w3c.github.io/miniapp-lifecycle/
Other
7 stars 6 forks source link

Define "first render" in the Lifecycle spec #3

Closed xfq closed 3 years ago

xfq commented 4 years ago

https://w3c.github.io/miniapp/specs/lifecycle/

The spec mentions the term "first render" a few times, but without a clear definition of it, it will be difficult to for a user agent implement and test it.

QingAn commented 4 years ago

"first render": the rendering of the first MiniApp Page that is displayed to the user, when user opens a MiniApp

Is the above definition is clear? If so, I will add to the spec.

xfq commented 4 years ago

That's still very vague and is difficult to implement and test. IMHO we should define the term like, e.g., first contentful paint in Paint Timing.

QingAn commented 3 years ago

Add a Note in #9 to define the first render

xfq commented 3 years ago

Since we have a definition now, I will close this issue. If necessary, we can file new issues and further improve the text in the future.