Liking cljdoc? Tell your friends :D

reagent.dom.client


create-rootcljs

(create-root container)

Create a React Root connected to given container DOM element.

Create a React Root connected to given container DOM element.
sourceraw docstring

hydrate-rootcljs

(hydrate-root container el)
(hydrate-root container
              el
              {:keys [compiler on-recoverable-error identifier-prefix]
               :or {compiler tmpl/*current-default-compiler*}})
source

rendercljs

(render root el)
(render root el compiler)

Render the given Reagent element (i.e. Hiccup data) into a given React root.

Render the given Reagent element (i.e. Hiccup data)
into a given React root.
sourceraw docstring

unmountcljs

(unmount root)

Unmount the given React Root

Unmount the given React Root
sourceraw docstring

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

× close