dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
danielcompton 2017-10-27T01:59:09.000149Z

Is there a way to call devtools.formatters.core/header-api-call with formatting config? I tried passing it a config map, but it didn't seem to take

danielcompton 2017-10-27T01:59:29.000045Z

Calling (devtools.prefs/set-pref! :render-keywords false) works, but then affects other users of cljs-devtools.

danielcompton 2017-10-27T02:00:00.000105Z

This is in the context of re-frame-trace which is injected into the users app, so we don't want to override any config that they have set

2017-10-27T09:19:55.000159Z

@danielcompton header-api-call is implementation of devtools's custom formatters API, the config there is unrelated to cljs-devtools preferences, see https://docs.google.com/document/d/1FTascZXT9cxfetuPRT2eXPQKXui4nWFivUnS_335T3U/edit

2017-10-27T09:20:36.000165Z

it is used to carry over some state when expanding custom formatters

2017-10-27T09:31:42.000248Z

@danielcompton btw. you will want to set :initial-hierarchy-depth-budget to false in cljs-devtools prefs, to disable https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/formatters/budgeting.cljs