(create-root container)
Create a React Root connected to given container DOM element.
Create a React Root connected to given container DOM element.
(hydrate-root container el)
(hydrate-root container
el
{:keys [compiler on-recoverable-error identifier-prefix]
:or {compiler tmpl/*current-default-compiler*}})
(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.
(unmount root)
Unmount the given React Root
Unmount the given React Root
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close