Hiccup compiler that translates Hiccup into React.js at compile-time.
Hiccup compiler that translates Hiccup into React.js at compile-time.
Runtime helpers for Hiccup compiled into React.js
Runtime helpers for Hiccup compiled into React.js
(as-component tag)
(camel-case k)
Turns kebab-case keyword into camel-case keyword
Turns kebab-case keyword into camel-case keyword
(camel-case-keys m)
Takes map of attributes and returns same map with camel-cased keys
Takes map of attributes and returns same map with camel-cased keys
(check-attrs v attrs children expr)
(compile-attrs attrs)
Takes map of attributes and returns same map with keys translated from Hiccup to React naming conventions
Takes map of attributes and returns same map with keys translated from Hiccup to React naming conventions
(compile-defui sym body)
Compiles Hiccup component defined with defui macro into React component
Compiles Hiccup component defined with defui macro into React component
(compile-html expr env)
Compiles Hiccup expr into React.js calls
Compiles Hiccup expr into React.js calls
(compile-html* expr)
(component-element tag attrs args)
(emit-constants-table table)
(fn-to-react-fn f)
(form-name form)
(gen-constant-id val)
(inline-children type attrs children)
(inline-element type attrs)
(join-classes classes)
Joins class names into a single string
Joins class names into a single string
(join-classes-js xs)
Emits runtime class string concatenation expression
Emits runtime class string concatenation expression
(join-classes-map m)
(literal? x)
(maybe-hoist hiccup compiled tag attrs children)
(normalize-element v)
(normalize-element v n)
Takes Hiccup element and optional index specifying position of attributes and returns a normalized element [tag attrs children]
Takes Hiccup element and optional index specifying position of attributes and returns a normalized element [tag attrs children]
(parse-tag hiccup-tag)
Takes Hiccup tag (:div.class#id) and returns parsed tag, id and class fields
Takes Hiccup tag (:div.class#id) and returns parsed tag, id and class fields
Hiccup tag pattern :div :.class#id etc.
Hiccup tag pattern :div :.class#id etc.
(register-constant! env val)
(set-id-class props [_ id class])
Takes attributes map and parsed tag, and returns attributes merged with class names and id
Takes attributes map and parsed tag, and returns attributes merged with class names and id
(static-element? tag attrs children)
(static-value? v)
(to-js-map m)
(unevaluated? expr)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close