wrap-render
, a middleware for rendering HTML with content negotiationcom.lambdaisland/garden
Convert multi-word attributes to match Reagent + React's behaviour.
data-, aria-, and hx- attributes remain kebab-case. html and svg attributes that are kebab-case in those specs, are converted to kebab-case
BREAKING in some cases:
Previously: :tab-index -> "tab-index" "fontStyle" -> "fontStyle" :fontStyle -> "fontStyle"
Now: :tab-index -> "tabIndex" "fontStyle" -> "font-style" :fontStyle -> "font-style"
Can you improve this documentation? These fine people already did:
Arne Brasseur, Alys Brooks, Rafal Dittwald, Mitesh Shah, Michael Easter & Donovan McGillenEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close