Slightly misleading video (moveBefore)

Hey just something I wanted to call out on the most recent video regarding the moveBefore API. I felt like the intro was misleading to a degree. While I agree with the content of the video, saying that its not possible to move an element I dont believe was accurate and its really easy for people to take that as a all encompassing fact. Isn't it true that it IS possible, but not all elements will behave the same after the reparent? Like for a lot of what I would call the basic elements, I think using appendChild works. But sure, for iframes, inputs state, totally agree, its jacked up. I wasn't sure if I was missing something else here, since iono this demo seems to work (minus the iframe that we established has issues). Demo: https://codesandbox.io/p/sandbox/react-typescript-forked-35vttx
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server