Liking cljdoc? Tell your friends :D

daiquiri.compiler


compile-attrmultimethod

source

compile-attrs

(compile-attrs attrs)

Compile a HTML attribute map.

Compile a HTML attribute map.
sourceraw docstring

compile-html

(compile-html content)
(compile-html content env)

Pre-compile data structures into HTML where possible.

Pre-compile data structures into HTML where possible.
sourceraw docstring

compile-merge-attrs

(compile-merge-attrs attrs-1 attrs-2)
source

compile-react

(compile-react v env)
source

compile-react-element

(compile-react-element element env)

Render an element vector as a HTML element.

Render an element vector as a HTML element.
sourceraw docstring

fragment?

(fragment? tag)

Returns true if tag is the fragment tag "*" or "<>", otherwise false.

Returns true if `tag` is the fragment tag "*" or "<>", otherwise false.
sourceraw docstring

infer-tag

(infer-tag env form)

Infer the tag of form using env.

Infer the tag of `form` using `env`.
sourceraw docstring

interpret-maybemacro

(interpret-maybe expr)

Macro that wraps expr with a call to daiquiri.interpreter/interpret if the inferred return type is not a primitive React type.

Macro that wraps `expr` with a call to
`daiquiri.interpreter/interpret` if the inferred return type is not a
primitive React type.
sourceraw docstring

maybe-warn-on-interpret

(maybe-warn-on-interpret env expr)
(maybe-warn-on-interpret env expr tag)
source

to-js

(to-js x)
source

warn-on-interpretation

source

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

× close