Liking cljdoc? Tell your friends :D

uix.compiler.aot

clj

Hiccup compiler that translates Hiccup into React.js at compile-time.

Hiccup compiler that translates Hiccup into React.js at compile-time.
cljs

Runtime helpers for Hiccup compiled into React.js

Runtime helpers for Hiccup compiled into React.js
raw docstring

*cljs-env*clj


>elcljs


as-componentcljs

(as-component tag)

camel-caseclj

(camel-case k)

Turns kebab-case keyword into camel-case keyword

Turns kebab-case keyword into camel-case keyword
raw docstring

camel-case-keysclj

(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
raw docstring

check-attrsclj

(check-attrs v attrs children expr)

compile-attrsclj

(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
raw docstring

compile-config-kvcljmultimethod


compile-defuicljmacro

(compile-defui sym body)

Compiles Hiccup component defined with defui macro into React component

Compiles Hiccup component defined with defui macro into React component
raw docstring

compile-elementcljmultimethod


compile-formcljmultimethod


compile-htmlclj

(compile-html expr env)

Compiles Hiccup expr into React.js calls

Compiles Hiccup expr into React.js calls
raw docstring

compile-html*clj

(compile-html* expr)

component-elementcljs

(component-element tag attrs args)

emit-constants-tableclj

(emit-constants-table table)

empty-js-objclj


fn-to-react-fncljs

(fn-to-react-fn f)

form-nameclj

(form-name form)

fragmentcljs


gen-constant-idclj

(gen-constant-id val)

inline-childrenclj

(inline-children type attrs children)

inline-elementclj

(inline-element type attrs)

join-classesclj

(join-classes classes)

Joins class names into a single string

Joins class names into a single string
raw docstring

join-classes-jsclj

(join-classes-js xs)

Emits runtime class string concatenation expression

Emits runtime class string concatenation expression
raw docstring

join-classes-mapclj

(join-classes-map m)

literal?clj

(literal? x)

maybe-hoistclj

(maybe-hoist hiccup compiled tag attrs children)

normalize-elementclj

(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]
raw docstring

parse-tagclj

(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
raw docstring

re-tagclj

Hiccup tag pattern :div :.class#id etc.

Hiccup tag pattern :div :.class#id etc.
raw docstring

register-constant!clj

(register-constant! env val)

set-id-classclj

(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
raw docstring

static-element?clj

(static-element? tag attrs children)

static-value?clj

(static-value? v)

suspensecljs


to-jscljmultimethod


to-js-mapclj

(to-js-map m)

unevaluated?clj

(unevaluated? expr)

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

× close