Sweet Tooth provides handlers. Rather than registering outright,
handlers are registered with an internal registry using the rr
function in this namespace, and the register-handlers
function is
then used to register the handlers with re-frame. This allows users
to specify interceptors for Sweet Tooth's handlers.
TODO: document how you can apply interceptors hierarchically by ns
Sweet Tooth provides handlers. Rather than registering outright, handlers are registered with an internal registry using the `rr` function in this namespace, and the `register-handlers` function is then used to register the handlers with re-frame. This allows users to specify interceptors for Sweet Tooth's handlers. TODO: document how you can apply interceptors hierarchically by ns
(register-handler registration id-ns interceptors)
(register-handlers & [interceptors])
(register-registration {:keys [id] :as registration})
Store a re-frame registration in sweet little atom
Store a re-frame registration in sweet little atom
(rr reg-fn id handler-fn)
(rr reg-fn id interceptors handler-fn)
Register a re-frame registration.
Register a re-frame registration.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close