Liking cljdoc? Tell your friends :D

cljest.helpers.re-frame


enable-subscription-debuggingcljs

(enable-subscription-debugging cb)

Enables subscription debugging on the provided cb function. Logs the first attempt to deref the subscription as well as subsequent derefs that result in a different subscription value. If a deref does not result in a different value, it isn't logged.

Prefer the with-subscription-debug macro over this function. You can use it as a wrapping macro (like with-redefs), which is nicer to work with.

Enables subscription debugging on the provided `cb` function. Logs the first attempt to deref
the subscription as well as subsequent derefs that result in a different subscription value. If
a deref does not result in a different value, it isn't logged.

Prefer the `with-subscription-debug` macro over this function. You can use it as a wrapping macro
(like `with-redefs`), which is nicer to work with.
sourceraw docstring

synchronous-dispatchcljs

(synchronous-dispatch argv)
source

with-subscription-debugclj/smacro

(with-subscription-debug & body)

Enables subscription debugging on body. See enable-subscription-debugging for more details about how the debugging works.

Example:

(it "should render correctly"
  (h/with-subscription-debug
    (h/render [my-stateful-component])
    ...))

Enables subscription debugging on `body`. See `enable-subscription-debugging` for
more details about how the debugging works.

Example:
```clj
(it "should render correctly"
  (h/with-subscription-debug
    (h/render [my-stateful-component])
    ...))

```
sourceraw docstring

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

× close