Re: [WICG/webcomponents] Scoped Custom Element Registries (#716)

Soo, this has been open for a while. Does anyone have a polyfill for any of the suggestions?
Can we push this or any unregister-way so that native web components would be able to gain HMR capabilities?

Right now, what I can see is that if we hijack the current registry, we could define elements with a hash in them, make a shim for the original name that then passes everything to the hashed version and just continuously re-register with a new hash.

While it will have some memory-leak issues over time, it would be only really present in the development cycle where we could hit refresh every now and then to avoid it creeping too high.

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

Message ID: <WICG/webcomponents/issues/716/1030640073@github.com>

Received on Saturday, 5 February 2022 15:02:24 UTC