-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helix clone-element #13
Comments
Having other fns for extracting and manipulating props could be useful as well.
|
I'm interested to work on this feature. I've looked through the code, and it seems that the basic implementation could be as simple as (defmacro clone-element
"Clones a React Element with props conversion like in $"
[element props]
`^js/React.Element (.cloneElement (get-react) ~element (impl.props/props ~props))) What I'm not sure about is |
Hmm. That's a tricky problem, I'll have to think about it.
|
Provide a
helix.core/clone-element
macro which uses the same props conversion API as$
.The text was updated successfully, but these errors were encountered: