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 <ton...@gmail.com> 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 clojurescrip...@googlegroups.com.
> 
> To post to this group, send email to clojur...@googlegroups.com.
> 
> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to