shadycss
shadycss copied to clipboard
Is the usage sample accurate?
In https://github.com/Polymer/lit-html/issues/655, there was a discussion about timing constraints (elements should shim custom properties in tree order). That doesn't seem to be mentioned in the official usage sample: https://github.com/webcomponents/shadycss#usage
cc: @sorvell @azakus
Also, note that it's not clear whether you should call styleSubtree for dynamic updates, as described in the README, or styleElement, as described in the shady-render API docs: https://lit-html.polymer-project.org/api/modules/shady_render.html#render