Fork me on GitHub
#helix
<
2020-06-06
>
geraldodev17:06:51

How to inject ^:native on a macro ?

geraldodev17:06:59

I think I got it.

(defmacro button [& args]
  `(helix/$ ~(with-meta 'Button {:native true})   ~@args))

lilactown17:06:16

yep! that looks good

fabrao20:06:03

I deployed my first project with helix today, thanks for the very good library that helped me too much.

👏 8
fabrao20:06:41

I left reagent re-frame and started with helix , easier to work with

lilactown21:06:32

I'm glad it's working for you!! I appreciate the kind words ❤️