reagent.ratom
->RAtom
(->RAtom state meta validator watches)
->RCursor
(->RCursor ratom path reaction state watches)
->Reaction
(->Reaction f state dirty? nocache? watching watches auto-run caught)
->Track
(->Track f args reaction)
->Wrapper
(->Wrapper state callback changed watches)
atom
(atom x)
(atom x & {:keys [meta validator]})
Like clojure.core/atom, except that it keeps track of derefs.
check-derefs
(check-derefs f)
make-reaction
(make-reaction f & {:keys [auto-run on-set on-dispose]})
make-track
(make-track f args)
make-track!
(make-track! f args)
make-wrapper
(make-wrapper value callback-fn args)
reaction
macro
(reaction & body)
reaction
macro
(reaction & body)
run!
macro
(run! & body)
Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.
run!
macro
(run! & body)
Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.
run-in-reaction
(run-in-reaction f obj key run opts)
with-let
macro
(with-let bindings & body)
with-let
macro
(with-let bindings & body)
with-let-destroy
(with-let-destroy v)
with-let-values
(with-let-values key)