You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice in either of these cases if we could just "push" the template right into the node, instead of using innerHTML which has a couple downsides
Summary
Currently as part of initializing a component (either Light or Shadow DOM) from
render
function when using JSX, we useinnerHTML
in a couple scenariosinnerHTML
Details
It would be nice in either of these cases if we could just "push" the template right into the node, instead of using
innerHTML
which has a couple downsidesSo, instead would be nice to see if we could leverage actual DOM APIs , like say
replaceWith
, just like we are able to leverageappendNode
.The text was updated successfully, but these errors were encountered: