Detect re-frame-trace views via 'devtools outer'
This is more reliable than looking for the namespace, as reagent does not attempt to keep namespace information when compiled with Closure, whereas "devtools outer" is hard-coded as the :display-name for the panel's container and survives compilation/optimization.
This commit is contained in:
parent
744c48b9d6
commit
0807a6156f
|
@ -120,7 +120,7 @@
|
|||
(let [rendering? (= (:op-type trace) :render)]
|
||||
(if-not rendering?
|
||||
true
|
||||
(not (str/includes? (get-in trace [:tags :component-path] "") "day8.re_frame.trace")))
|
||||
(not (str/includes? (get-in trace [:tags :component-path] "") "devtools outer")))
|
||||
|
||||
|
||||
#_(if-let [comp-p (get-in trace [:tags :component-path])]
|
||||
|
|
Loading…
Reference in New Issue