(compile-attrs attrs)
Compile a HTML attribute map.
Compile a HTML attribute map.
(compile-html content)
(compile-html content env)
Pre-compile data structures into HTML where possible.
Pre-compile data structures into HTML where possible.
(compile-react-element element env)
Render an element vector as a HTML element.
Render an element vector as a HTML element.
(fragment? tag)
Returns true if tag
is the fragment tag "*" or "<>", otherwise false.
Returns true if `tag` is the fragment tag "*" or "<>", otherwise false.
(infer-tag env form)
Infer the tag of form
using env
.
Infer the tag of `form` using `env`.
(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.
(maybe-warn-on-interpret env expr)
(maybe-warn-on-interpret env expr tag)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close