On 6 March 2015 at 17:48, Matthew Davidson <suny...@gmail.com> wrote:
> Hmmm. You could use core.async, pass down a channel to children, and pass > up an event each time the child is mounted. The parent would start a > go-loop on initialization, count the children, and run some code when it > gets the right number of child-mounting events. You could also use a > general event bus for something similar, if you have one. > I have something similar to a general event bus in the form of Ittyon <https://github.com/weavejester/ittyon>, but I'm not sure if I want to mix local state with my app state. > But really, unless you're doing something very complicated, layout is more > the province of CSS. Could the Flexbox layout work here? > I'm afraid not. It's a little more complex that that. Effectively all the elements have precise coordinates, but if two happen to overlap, an algorithm is employed to nudge them into new positions. - James -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.