We should think about how to handle properties as for some cases the source wouldn't really show the state of the component. This is a little different from frameworks as the difference between attributes and properties are abstracted away. My initial idea is to a script tag that populates properties.
Originally posted by @brion-fuller in #15337 (comment)