Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

replicant.dom


renderclj/s≠

clj
(render _el _hiccup & [_opt])
cljs
(render el hiccup & [{:keys [aliases alias-data]}])

Render hiccup in DOM element el. Replaces any pre-existing content not created by this function. Subsequent calls with the same el will update the rendered DOM by comparing hiccup to the previous hiccup.

Render `hiccup` in DOM element `el`. Replaces any pre-existing content not
created by this function. Subsequent calls with the same `el` will update the
rendered DOM by comparing `hiccup` to the previous `hiccup`.
source (clj)source (cljs)raw docstring

set-dispatch!cljs

(set-dispatch! f)

Register a global dispatch function for event handlers and life-cycle hooks that are not functions. See data-driven event handlers and life-cycle hooks in the user guide for details.

Register a global dispatch function for event handlers and life-cycle hooks
that are not functions. See data-driven event handlers and life-cycle hooks in
the user guide for details.
sourceraw docstring

unmountcljs

(unmount el)

Unmounts elements in el, and clears internal state.

Unmounts elements in `el`, and clears internal state.
sourceraw docstring

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

× close