Liking cljdoc? Tell your friends :D

hx.react


$clj/s

($ el p & c)
source (clj)source (cljs)

assign-methodscljs

(assign-methods class method-map)
source

create-classcljs

(create-class super-class init-fn static-properties method-names)
source

create-pure-componentcljs

(create-pure-component init-fn static-properties method-names)
source

defcomponentclj/s≠macro

clj
(defcomponent display-name constructor & body)
cljs
(defcomponent &form &env display-name constructor & body)
source (clj)source (cljs)

defncclj/s≠macro

clj
(defnc name props-bindings & body)
cljs
(defnc &form &env name props-bindings & body)
source (clj)source (cljs)

factoryclj/s

(factory component)

Takes a React component, and creates a function that returns a new React element

Takes a React component, and creates a function that returns
a new React element
sourceraw docstring

fragmentcljs

source

parse-bodycljs

(parse-body body)
source

props->cljcljs

(props->clj props maybe-ref)
source

shallow-renderclj/s≠macro

clj
(shallow-render & body)
cljs
(shallow-render &form &env & body)
source (clj)source (cljs)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close