— In Vanilla JS ?i want to wirte one too but in pureScript
— I’m trying to attach a shadow DOM with a full document inside. I had hoped that I could just dump the full markup into a template element, but that strips the html, head and body elements.
Message permanent page
— Currently, I’m creating html, head, and body elements by hand, insert the head and body markup and then I append the head and body elements to the html element. This feels ... very odd to write out.
— Wait a minute the shadow DOM was this thing in React or VueJS that renders, set HTML, only when smthing changes?
— You are maybe talking about Virtual DOM?
— Yikes :D