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.
