hyperfiddle

http://hyperfiddle.net
2018-12-12T14:13:15.043900Z

Massive braindump about clojure and graphs if anyone interested: https://www.reddit.com/r/Clojure/comments/a576pp/clojure_graphs/

❤️ 1
2018-12-12T19:52:41.044400Z

karl is this the line in reagent which is nondeterministic? https://github.com/reagent-project/reagent/blob/master/src/reagent/ratom.cljs#L120

2018-12-12T21:32:01.045100Z

@alexandrkozyrev, here is a tip, you can set custom attribute renderers globally for your subdomain:

alexandrkozyrev 2018-12-13T09:51:46.045800Z

awesome feature

alexandrkozyrev 2018-12-13T09:52:29.046Z

(fn [val ctx props] [hyperfiddle.ui.controls/code (-> val js/JSON.parse (js/JSON.stringify :space “\t”)) ctx (assoc props :mode “jsx”)])

alexandrkozyrev 2018-12-13T09:52:51.046200Z

works a bit better for json

alexandrkozyrev 2018-12-13T10:12:41.046400Z

can you please change a default placeholder for “renderer” field from “-” to smth like “click me to edit”. I spent about 5mins to find out how to open/edit this field

2018-12-13T14:40:13.046600Z

Thanks, ticketed

2018-12-12T21:32:19.045500Z

(fn [val ctx props] 
  [hyperfiddle.ui.controls/code val ctx (assoc props :mode "text")])

2018-12-12T21:32:33.045700Z

That gives you newlines, at least