"The fact that Reagent wouldn't work with Javelin's cells (atoms), was one of the primary reasons I wrote my own wrapper. "
Is that so? Looking at javelin, the cells are already implementing the basic atom interfaces. Isn't it possible to extend the type to add the missing ones? https://github.com/reagent-project/reagent/blob/master/src/reagent/ratom.cljs#L32 Nikita, could you briefly describe the main differences when compared with Reagent and Freactive? What are the selling points? On Sunday, December 28, 2014 11:56:45 AM UTC-5, Brendan Younger wrote: > I really do like the general design and feel of Rum. At work, I've been > piecing together my own React wrapper which lands somewhat between Rum's and > Reagent's models and I'd like to interject a few design decisions I've made > which you might consider. > > * Using requestAnimationFrame for updates is not overtly supported by > React.js. IMHO, it suffices to rely on changing props, changing state, and > calling forceUpdate when a referenced atom changes. > > * Creating lens atoms, as you do in Rum, is a good idea. Javelin > https://github.com/tailrecursion/javelin already provides an implementation > which is even more general than Rum's cursor-focused atoms. The fact that > Reagent wouldn't work with Javelin's cells (atoms), was one of the primary > reasons I wrote my own wrapper. > > Just ideas. I confess my primary motivation is to have a community-supported > library that meets my needs so I don't have to keep maintaining my own. > > Brendan Younger > > On Sunday, December 28, 2014 11:05:49 AM UTC-5, Daniel Kersten wrote: > > Looks very interesting. I'll be watching this for sure! > > > > > > On Sat, 27 Dec 2014 22:06 whodidthis <[email protected]> wrote: > > On Friday, December 26, 2014 7:03:34 PM UTC+2, Nikita Prokopov wrote: > > > > > Hi everybody! > > > > > > > > > > I want to announce a preview of new CLJS UI library based on React. It > > > aims to replace Om, Quiescent, Reagent and Freeactive. Yes, all at once :) > > > > > > > > > > Neither API nor Implementation are polished yet, but I believe Rum > > > provides interesting model for building UI components and applications. > > > At least I was able to reproduce what other frameworks are offering on > > > top of basic Rum API. > > > > > > > > > > Anyway, check out source code and extensive readme: > > > > > > > > > > https://github.com/tonsky/rum > > > > > > > > > > Thanks! > > > > > > > > > > -- > > > > > Nikita > > > > > > > > Looks really interesting. Is there any thought on making wrapping > > components easier to use as discussed in here: > > https://github.com/swannodette/om/issues/291 > > > > > > > > -- > > > > 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.
