Open twoshlove opened 10 months ago
It's nice to be able to change the properties of the element directly. It's also the best way of sending data in the heap.
const someData = makeSomeData();
customElement = new MyCustomElementBuiltFromReact2WC();
customElement.data = someData;
@justinbmeyer Thanks for the kind explanation
Why did you declare this code within the plugin? I don't understand why
ReactWebComponent.prototype.prop
is defined becauseattributeChangedCallback
seems to handle it correctly.