Public API
Public API
(create-portal child node)
Renders Hiccup element into DOM node
Renders Hiccup element into DOM node
(create-root node)
(find-dom-node component)
Returns top-level DOM node associated with component
Returns top-level DOM node associated with component
(flush-controlled & body)
(flush-controlled! cb)
(flush-sync & body)
(flush-sync! cb)
(hydrate element node)
Hydrates server rendered document at node
with element
.
Hydrates server rendered document at `node` with `element`.
(render element node)
Renders element into DOM node. The first argument is Hiccup or React element.
Renders element into DOM node. The first argument is Hiccup or React element.
(render-root element root)
(render-to-static-markup element)
Like render-to-static-markup, but pushes HTML in chunks as they are being rendered
(render-to-static-stream [element] {:on-chunk f})
Like render-to-static-markup, but pushes HTML in chunks as they are being rendered (render-to-static-stream [element] {:on-chunk f})
(render-to-static-stream element)
Like render-to-string, but pushes HTML in chunks as they are being rendered
(render-to-stream [element] {:on-chunk f})
Like render-to-string, but pushes HTML in chunks as they are being rendered (render-to-stream [element] {:on-chunk f})
(render-to-stream element)
(render-to-string element)
(unmount-at-node node)
Unmounts React component rendered into DOM node
Unmounts React component rendered into DOM node
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close