Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-02-02 Thread marc fawzi
Is there anything similar to TodoMVC that compares the different approaches to using React from CLJS? I think if there was then comparing and contrasting would be a great way for some of us to learn the pros and cons of each and maybe et us thinking... -- Note that posts from new members are

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-11 Thread Mike Haney
First, I want to point out that I am NOT knocking Reagent at all. I have used it for months now and I like the library and have been a very vocal proponent of it on this group and elsewhere. For many if not most apps, it's all you will ever need. That being said, there are 2 challenges I am f

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-11 Thread Nikita Prokopov
Matt, if you keep all your state in Reagent atoms, that’s perfectly fine, you’ll probably get no benefits from moving to Rum. Rum idea is not to lock you down to a single storage model. Sometimes your dataflow is trickier that just atoms, e.g. you need components to react to DataScript events,

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-11 Thread Matt Ho
Could you describe some of these cases where the Reagent model isn't expressive enough? I'm having a hard time understanding the use case. Thanks! M -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subs

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-10 Thread Nikita Prokopov
Mike, thanks for the kind words. Make sure you’re using Rum 0.1.1 — just pushed couple of important bugfixes https://github.com/tonsky/rum#changes Nikita. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you ar

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-09 Thread Mike Haney
I'll be able to answer that better after this weekend. I'm working on porting my current paid project to Rum, based on what I learned from experimenting with it over the last few days. Based on how that goes I will make the decision whether to use Rum or stick with Reagent for the rest of this

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-09 Thread Kyle Cordes
On Friday, January 9, 2015 at 7:53 PM, Mike Haney wrote: > I've spent the last few days digging into Rum (insert hangover joke here) and > it's awesome! > ... > So far, Rum looks like a winner to me. Thank you Nikita for Rum and > Datascript - two of the most innovative libraries in CLJS land so

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2015-01-09 Thread Mike Haney
I've spent the last few days digging into Rum (insert hangover joke here) and it's awesome! I started out porting a non-trivial Reagent app to Rum, which ended up taking only a few hours by utilizing the rum/reactive mixin. Of course, during this process I saw several places where taking a mix

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2014-12-29 Thread Nikita Prokopov
The main idea is that I wanted to hack my own component’s behaviors, but both Om, Reagent and even Quiescent came with something built-in, and change that was impossible without rewriting internals. So what I ended up doing is a very thin wrapper and a couple of convenient functions for work wi

Re: [ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2014-12-27 Thread Nikita Prokopov
Ian, thanks! About polishing — not sure yet. I think I should develop at least couple of non-trivial apps before sharp edges show themselves. Also there’s this subtle moment about state migration (when new component of the same type is created on top of existing one, mount/unmount does not hap

[ClojureScript] [ANN] Rum: new ClojureScript wrapper for React. Decomplected, extensible, simple

2014-12-26 Thread Nikita Prokopov
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 applicatio