:ref
and :key
props with factory functionsdefnc
and $
:style
prop now accepts an arbitrary JS object as well as a map or vectordeps.cljs
which specifies react, react-refresh:class
prop for native components now accepts a seq(able) collection, e.g. :class ["foo" "bar"]
is equivalent to :class (str foo " " bar)
.:&
works with non-native componentsnil
, when the element expected js/undefined
:define-factory
works with :fast-refresh
feature flagCan you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close