custom-elements-everywhere
custom-elements-everywhere copied to clipboard
Upgrading Elements
Should there be a test that covers upgrading elements? Just wondering if the custom element is defined after the framework/library renders the output how
It appears that this currently does not work for Preact props and might be an issue for others.
I started to write tests for that here: https://github.com/webcomponents/custom-elements-everywhere/blob/master/libraries/react/src/component-tests.js#L134
We could totally check this to see what they do if the property is undefined on the element.
Adding some additional context to this (very old) thread. https://github.com/webcomponents/custom-elements-everywhere/blob/master/libraries/react/src/basic-tests.js#L129-L133
This is definitely a scenario that needs testing. We might add this into a 2.0 version of the score?