I see very interesting. Is it technically feasible to only run the macro from one place, so usercode is just functions?
On Tue, Jun 13, 2017 at 12:42 PM, Jiyin Yiyong <[email protected]> wrote: > I tried something like that. Actually I implemented a simple virtual DOM > library by myself to do that. https://github.com/Respo/respo Since I'm > not using React, I can optimize virtual DOM with `identical?` function as > I need, and let the library reuse existing components. It's possible, but > I'm not sure if this is what you want. > > > On Saturday, June 10, 2017 at 12:02:50 AM UTC+8, Dustin Getz wrote: >> >> If I define a UI as just functions, no React components or Reagent >> components, is it possible to layer render-tree pruning on top of this, or >> index and reconcile this somehow? For example a macro that walked the tree >> and injected React components at the right places. Memoizing each function >> comes to mind as well. >> > -- > 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 https://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 https://groups.google.com/group/clojurescript.
