qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[✨] A way to clone elements

Open Dindaleon opened this issue 2 years ago • 4 comments

Is your feature request related to a problem?

I am making a drag and drop interface for my clients and would like to have a way to clone elements and keep their reactivity.

Describe the solution you'd like

I would like to have something like React with React.cloneElement()

Describe alternatives you've considered

At the moment i am using the default element.cloneNode(true) but its reactivity is being lost.

Additional context

No response

Dindaleon avatar May 23 '23 22:05 Dindaleon