Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
Coming soon to the DOM API: `Node#moveBefore()` will let you âre-parentâ or change an elementâs position in the DOM without losing its state. Very useful for stateful elements like form controls, iframes, videos, modals and anything with CSS pseudo-class styling. Will also make the âportalâ pattern in many frameworks and component libraries obsolete. Canât wait to see the sophisticated animations and layout transitions that will inevitably come out of this. https://github.com/whatwg/dom/issues/1255 https://youtu.be/P6XVncHCbPw
0 reply
2 recasts
12 reactions