-
Notifications
You must be signed in to change notification settings - Fork 94
appreciate your feedback for custom element diagram #183
Comments
This diagram seems fine to me. I am not sure what you mean with the It is unclear to me what the arrows/crosses mean. Maybe add a footnote that is referenced in the diagram describing that these methods can throw if certain properties are not met? |
Thanks for your answer.
I agree there shouldn't. But unfortunately the spec is fragile itself, like officially stated here (scroll down to example):
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance |
If you would like to propose changes to the specification to make it "less fragile", feel free to open an issue on https://github.com/search?q=org%3Awhatwg+label%3A%22topic%3A+custom%20elements%22+is%3Aopen Since this particular diagram is fine from a polyfill-perspective, I am closing this issue. Any spec discussions should be held in the standards repository. Thanks for creating this diagram! |
Thanks. Well, this diagram shall help people to understand the upsides and downsides of custom elements. I would really like to gather as much feedback as possible from people being actively involved within the custom elements community. |
This diagram helps, but I don't think the polyfill is the correct location to add this (as the polyfill is designed to go away and the diagram is not). Therefore, I would propose to add it to https://github.com/w3c/webcomponents or to for example MDN (https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements). That way, you will make sure the diagram remains useful and is placed in a frequently used document. |
Thanks a lot for your help. I will do that :) |
Alright, I made some updates: |
Hy,
I just released an adapted version of the interactive react lifecycle methods diagram for custom elements:
https://andyogo.github.io/custom-element-reactions-diagram/
If you have time, I would appreciate your feedback very much.
Personally I'm still concerned of how to express the non-determinisitic and integrity issues of custom element reactions, like it's documented in the spec itself in the example below:
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance
The text was updated successfully, but these errors were encountered: