API reference
Generated from the docstrings in the current Reagent source. API docs for each released version are on the versioned API docs and on cljdoc.
reagent.core
Components, Reagent atoms, cursors, reactions and React interop.
adapt-react-classafter-renderargvas-elementatomchildrenclass-namescreate-classcreate-compilercreate-elementcurrent-componentcursordefcdispose!flushforce-updateis-clientmerge-propsnext-tickpartialpropsreactify-componentreactionrenderreplace-staterswap!set-default-compiler!set-statestatestate-atomtracktrack!unsafe-htmlwith-letwrap
reagent.dom.client
Render into React roots (React 18 and 19).
reagent.dom
Legacy ReactDOM render API.
reagent.dom.server
Render components to HTML strings for server-side rendering.
reagent.ratom
Reactive atoms, reactions and tracking.
reagent.hooks
React hooks that use Clojure value equality for deps and state.