mirror of
https://github.com/status-im/re-frame-10x.git
synced 2025-02-04 18:33:25 +00:00
Don't convert Clojure objects to JS objects
- Add docs to suggest use of cljs-devtools
This commit is contained in:
parent
9a4072ddf8
commit
4451982037
@ -43,6 +43,8 @@ If you are using leiningen, modify `project.clj` in the following ways. When puz
|
|||||||
:preloads [day8.re-frame.trace.preload]}}]}
|
:preloads [day8.re-frame.trace.preload]}}]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[cljs-devtools](https://github.com/binaryage/cljs-devtools) is not required to use re-frame-trace, but it is highly recommended.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
- Start up your application.
|
- Start up your application.
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
(when show-row?
|
(when show-row?
|
||||||
[:tr {:key (str id "-details")}
|
[:tr {:key (str id "-details")}
|
||||||
[:td.trace-details {:col-span 3
|
[:td.trace-details {:col-span 3
|
||||||
:on-click #(.log js/console (clj->js tags))}
|
:on-click #(.log js/console tags)}
|
||||||
(let [tag-str (with-out-str (pprint/pprint tags))
|
(let [tag-str (with-out-str (pprint/pprint tags))
|
||||||
string-size-limit 400]
|
string-size-limit 400]
|
||||||
(if (< string-size-limit (count tag-str))
|
(if (< string-size-limit (count tag-str))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user