:provider
component and hx.react/create-context
function<-deref
hook<-state
: swap!
works on a <-state
atom inside of <-effect
className
prop is available as either :class
or :class-name
when
parsing props in defnc
to provide parity with hiccup parser's conversion of
:class
prop to className
<-ref
: Pass initial value to react/useRef
hx.react.hooks
to hx.hooks
(breaking)<-deref
: no longer takes a deps
argument, but will automatically re-watch
if atom argument changes (breaking)<-deref
: Fix bug where two calls on the same atom didn't work as expected<-effect
: Convert second argument deps
from CLJS collection to array<-ref
: Have deref return the current
value in React ref (breaking)<-memo
<-callback
<-imperative-handle
<-layout-effect
<-debug-value
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close