Skip to content
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

Support dynamic element type #94

Closed
roman01la opened this issue Feb 10, 2023 · 0 comments
Closed

Support dynamic element type #94

roman01la opened this issue Feb 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@roman01la
Copy link
Collaborator

Sometimes it is useful to be able to pass element type at runtime

(defui button [{:keys [as] :or {as :button}]
  ($ as {} ...))

Currently this won't work due to $ compile time requirements, the macro should opt into runtime resolution of the element type

@roman01la roman01la added the enhancement New feature or request label Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant