Liking cljdoc? Tell your friends :D

reacl2.trace.core

Functions to install and uninstall tracers (add-tracer!, remove-tracer!, and primitives and utilities to implement new tracers.

Functions to install and uninstall
tracers ([[add-tracer!]], [[remove-tracer!]], and primitives and
utilities to implement new tracers.
raw docstring

add-tracer!cljs

(add-tracer! tracer)
(add-tracer! id tracer)

Installs the given tracer under the given id (which replaces a previous tracer associated with the same id). If no id is specified, the tracer itself serves as its id.

Installs the given tracer under the given id (which replaces a
previous tracer associated with the same id). If no id is specified,
the tracer itself serves as its id.
sourceraw docstring

commit-tracecljs

The update cycle started with a send-message or render-component came to an end, resulting in the given new global app-state and a sequence of tuples of a component and its new local-state.

The update cycle started with a send-message or
render-component came to an end, resulting in the given new global
`app-state` and a sequence of tuples of a `component` and its new
`local-state`.
sourceraw docstring

component-class-namecljs

(component-class-name comp)

Returns the name of the class the given component was instantiated from.

Returns the name of the class the given component was instantiated
from.
sourceraw docstring

component-idcljs

(component-id comp)

Assigns and returns a unique id for each unique component comp.

Assigns and returns a unique id for each unique component `comp`.
sourceraw docstring

reduced-action-tracecljs

The component had an action reducer attached, which transformed the given action into the given returned.

The `component` had an action reducer attached, which
transformed the given `action` into the given `returned`. 
sourceraw docstring

remove-tracer!cljs

(remove-tracer! id)

Uninstalls the tracer previously installed under the given id.

Uninstalls the tracer previously installed under the given id.
sourceraw docstring

render-component-tracecljs

The given component is being rendered.

The given `component` is being rendered.
sourceraw docstring

returned-tracecljs

The given component returned ret from handling a message or the livecycle method from. This marks the beginning of an update cycle.

The given `component` returned `ret` from handling a
message or the livecycle method `from`. This marks the beginning of an update
cycle.
sourceraw docstring

send-message-tracecljs

The given component was sent the given message

The given `component` was sent the given `message`
sourceraw docstring

tracercljs

(tracer initial-state tracer-map)

Creates a stateful tracer with an initial state and a map associating functions to one or more available traces (send-message-trace, commit-trace etc.).

Creates a stateful tracer with an initial state and a map
associating functions to one or more available
traces ([[send-message-trace]], [[commit-trace]] etc.).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close