Fork me on GitHub
#reagent
<
2023-01-29
>
Alejandro19:01:32

Update: Never mind, this works: [:button {"hx-get" "..."}]. Hey. I've added a button to a reagent component. Looks like [:button {:hx-get "..."}], but it gets rendered to <button hxget="...">, without the hyphen, why is that? Am I missing something, or is it a bug? It seems it's a react thing, not all attributes are allowed, and either hiccup or reagent removes the hyphen. But still, is it possible to leave it as it is?