This is not completely accurate. Cursors abstract away the particular state strategy. Even with DataScript you will want some indirection for reusable components. I suspect widgets will take entities or composites and in order for rendering to be efficient you will want entity caching.
On Saturday, April 26, 2014, Nikita Prokopov <[email protected]> wrote: > суббота, 26 апреля 2014 г., 1:31:52 UTC+7 пользователь Daniel Neal написал: > > Is this something that could potentially work *with* Om or is it going > down a different road? > > > > I'm really enjoying Om for client side work but totally love the idea of > being able to do database-like queries over the application state as you > describe. > > I thinks DataScript is something that can be used instead of Om cursors. > Of course you can mix, it’s just a library. But for proper integration > cursors will be just a dead weight, so it would be easier to integrate with > pure React or some thin wrapper around React like Quiescent. > > But that’s just my opinion, David already started to toy with Om > integration :) > > -- > 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] <javascript:;>. > To post to this group, send email to > [email protected]<javascript:;> > . > 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.
