Liking cljdoc? Tell your friends :D
Clojure only.

taia.ds.datastar.use-cases.process-event.view

The :view proc of a component's flow: rendering.

It calls the component's render fn with the ctx the controller emitted (:from-controller) and puts the result, as :html (hiccup or an effects list), on the flow's out-chan (the :to-render out-port). An error message from the controller passes through untouched.

The `:view` proc of a component's flow: rendering.

It calls the component's render fn with the ctx the controller emitted
(`:from-controller`) and puts the result, as `:html` (hiccup or an effects
list), on the flow's out-chan (the `:to-render` out-port). An error
message from the controller passes through untouched.
raw docstring

procclj

The proc launcher. Built once (a launcher is stateless until started) from the step var, so a REPL redef reaches flows started afterwards.

The proc launcher. Built once (a launcher is stateless until started) from
the `step` var, so a REPL redef reaches flows started afterwards.
sourceraw docstring

renderclj

(render component-fn-var msg)

msg with :html: the render fn (a var, dereferenced now so REPL redefs are picked up) applied to its :ctx. A render that throws becomes an error message; an error message passes through.

`msg` with `:html`: the render fn (a var, dereferenced now so REPL redefs
are picked up) applied to its `:ctx`. A render that throws becomes an
error message; an error message passes through.
sourceraw docstring

stepclj

(step)
(step {:keys [out-chan] :as args})
(step state _transition)
(step {:keys [component-fn-var] :as state} _in msg)

Step fn of the :view proc (see clojure.core.async.flow/process).

Step fn of the `:view` proc (see `clojure.core.async.flow/process`).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close