Liking cljdoc? Tell your friends :D

hoquet.react


*create-element*clj/s

The function that creates an element. The function signature is: [component attributes & children]

The function that creates an element.
The function signature is: [component attributes & children]
sourceraw docstring

as-strclj/s

(as-str x)
source

create-elementclj/s

(create-element component)
(create-element component attributes & children)
source

normalize-elementclj/s

(normalize-element [tag & content])

Ensure a tag vector is of the form [tag-name attrs content].

Ensure a tag vector is of the form [tag-name attrs content].
sourceraw docstring

render-elementclj/s

(render-element element)

Render a tag vector as a HTML element.

Render a tag vector as a HTML element.
sourceraw docstring

render-reactclj/s

(render-react x)

Turn a Clojure data type into a string of HTML. In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like for.

Turn a Clojure data type into a string of HTML.
In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like `for`.
sourceraw docstring

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

× close