Closed nolanlawson closed 1 year ago
I like it! Let's do lwc:scope-token
Ah, unfortunately I just realized we can't do lwc:scope-token
because the colon messes up the classes in the serialized CSS. This is invalid CSS.
On second thought, how about lwc-xxxxxx
? Since the new format we're going to use is lwc-<hash>
, maybe it's a little less distracting of a name.
I don't have a strong opinion but I'm leaning towards the previous version because it's self-descriptive.
Sounds good, let's stick with the first one then!
New version of #184
In serialized HTML, all scope tokens are replaced with
__lwc_scope_token__
. This is a breaking change because it breaks all existing snapshots, and because we now require the LWCpeerDependency
of 2.48+.