Re: [w3c/webcomponents] Discussion: Templates that Don't Destroy Element References (#777)

For that to work the string would need to keep a reference to `btn` so that if `toDOM()` is every called it can interpolate the actual element. But strings are value types. So they can't keep state.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/777#issuecomment-445248257

Received on Friday, 7 December 2018 14:26:55 UTC