This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-08
Channels
- # aws (4)
- # beginners (81)
- # boot (65)
- # cljs-dev (10)
- # cljsjs (1)
- # cljsrn (12)
- # clojure (26)
- # clojure-austin (2)
- # clojure-dusseldorf (2)
- # clojure-russia (123)
- # clojure-spec (23)
- # clojure-uk (12)
- # clojurescript (36)
- # cursive (11)
- # datomic (39)
- # events (1)
- # hoplon (25)
- # incanter (4)
- # leiningen (3)
- # off-topic (5)
- # om (31)
- # re-frame (24)
- # reagent (13)
- # ring-swagger (2)
- # rum (10)
- # untangled (3)
- # yada (10)
Is there a tree viewer coming to re-com any time soon? If not, is there a easy way to fake it using vbox/hbox ?
Imagine browing a directory tree with expanding/collapsin folders. That's basically all I want.
No current plans for it
Always enthusiastic about contributions.
@mikethompson : this might be naive: are there any performance issues (besides DOM redraws) in implementing a treeview? naively, it seems like each folder has a boolean called "expanded?" and there is a DOM element which depends on that r-atom, showing the collapsed view in one case and the expanded view in another case
Yeah, i imagine it being fairly straight forward
Obviously any sufficiently large set of DOM nodes could have performance problems. So it depends on how big the tree is
Is there a easy way in reagent to toggle the "bullet" of a list item? i.e. a square with a plus in it for not expanded, and a squared with a minus for already expanded.
whats the name of the thing that draws a little widget on your page that lets you view the state of your app-db? i saw it in a re-frame video somewhere but i cant remember the name of it
https://github.com/Day8/re-com/blob/master/src/re_demo/button.cljs#L84-L91 <-- is the normal way to do hover in re-frame to do it manually (as shown in the code) rather than through css ?
just my guess, but i'd say there's not a preferred way regarding re-frame. probably a preferred way with general web development to do it with css (take my unqualified advice with a grain of salt)
the thing about re-frame is that it's been telling me everything I have been doling is wrong ... and I have been agreeing with re-frame over time