Hi James, I saw your ClojureX video about Flow, cool stuff!
I believe there are some synergies between a lower level hiccup Virtual DOM style library (direction hipo might evolve) and the various UI library based on hiccup, either relying on React or implementing their own DOM manipulation strategies like Flow. Ideally those libraries could just use hipo (or equivalent) and focus on the higher level features they provide. To achieve this hipo needs to provide the proper hooks so that it is flexible enough to be used in various scenario. I created a separate ticket [1] to start the conversation around this. Please feel free (and anyone interested) to participate! [1] https://github.com/jeluard/hipo/issues/10 Cheers, Julien 2014-12-12 14:44 GMT-03:00 James Henderson <[email protected]>: > > On Tuesday, 9 December 2014 20:45:47 UTC, Julien Eluard wrote: > > Hi, > > > > Following the release of the hipo library (DOM templating based on > hiccup syntax) I started thinking about expanding its scope to updates. > > > > > > > > Applying Virtual DOM style techniques to hiccup template at macro > expansion time might offer opportunity for even more optimisation. > > I detailed this here: https://github.com/jeluard/hipo/issues/9 > > > > > > I would be interested in any feedback before I invest more time into it, > especially if some important details have been left out or the whole > approach is too naïve. > > > > > > Thanks! > > Julien > > Hi Julien - this sounds pretty similar to the approach I've been taking > with Flow (https://github.com/james-henderson/flow) > > Flow doesn't use a virtual DOM, but does generate the ClojureScript > required to effect updates at macro-expansion time. Currently, it's quite a > naive macro-expansion (but does support reasonably fast updates) but I, > like you, believe there're more possibilities for using the information we > have at compile-time to get better performance :) > > It's in alpha at the moment (but pretty stable and performant enough to > start playing with) - would be great to chat through ideas! > > James > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
