A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

Reflecting Prop Changes

bahrus
2020-12-18

I tried to implement this functionality, but found it seems to be impossible, without more intrusive code.

In this particular case, I want to be able to make styling decisions based on the src of an iframe being set by a hyperlink, without intrusive JavaScript that needs to recreate the built-in functionality linking the hyperlink to the iframe.

Other use cases include debugging support, where seeing properties change within the DOM inspector would make seeing how the data flows easier.