// The d- prefix means "detached from layout": the layout engine ignores it and // you place it yourself with x/y. Because a detached node does not participate in // layout, moving it (animating x/y) does not reflow its siblings - which makes // d- elements the right choice for overlays, badges, and anything that moves // independently. The rule: a detached node can only contain other detached // nodes. Everything under a d- element must itself be a d- element (here d-rect + // d-text) - nesting a plain or inside a d- element is an error. import { render } from "@solidrt/core" function App() { return ( Badge ) } render(() => )