[Solid] Is it possible to make asChild props as react or svelte? #3587
Answered
by
segunadebayo
Tatametheus
asked this question in
Q&A
-
Currently asChild is a function. Children would be better? |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Aug 13, 2025
Replies: 1 comment
-
Child manipulation methods like cloneElement (React) or cloneVNode(Vue) do not exist in Solid.js since it doesn't use a virtual DOM. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Child manipulation methods like cloneElement (React) or cloneVNode(Vue) do not exist in Solid.js since it doesn't use a virtual DOM.