Bug: customElement can't setAttrubute width Object #23043
Labels
Component: DOM
Resolution: Stale
Automatically closed due to inactivity
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
I get something wrong with customElement properties and slot ;
React version: experimental
Steps To Reproduce
1.create a customElement width Object properties ;
2.assign an object to a property, customElement property receives as '[object,object]'.
3.customElement use slot , React will render the child of customElement as its own, and slot will be re-rendered within the children element.
Link to code example: https://jsfiddle.net/a707843858/f52s16uh/31/
The current behavior
1.setAttribute passes a value of the same type
2.When React renders customElement. Pass children to it as an attribute and hand him the controller without rendering it's children.
The expected behavior
The text was updated successfully, but these errors were encountered: