Fork me on GitHub
#rum
<
2016-05-01
>
biscuitpants11:05:14

Does anyone know any tutorials for Rum, other than the ones on the readme?

niwinz12:05:34

I'm not aware of any one

biscuitpants12:05:20

Or any tutorial for CLJS client side apps, I’ve found a few but a lot of them are Om-centric

niwinz12:05:28

but the readme explains everything that you should know, rum is very very simple.

biscuitpants12:05:47

yeah, it’s super simple, and i understand it. just more don’t understand implementing it into a client side app

biscuitpants12:05:00

so i guess i need to more look for tutorials of building a full cljs app, and then slot rum in

niwinz12:05:40

I'm working in considerably big project using rum (a little bit customized), if you are interested I can pass you a reference

niwinz12:05:33

but, yes, I recommend starting pet projects and experiment and understand how build applications using ract

biscuitpants12:05:50

yeah i’d love the reference, please

niwinz12:05:13

rum is one approach, I prefer it, but there are other, maybe more familar or easy to start up

biscuitpants12:05:22

i’ve seen Rum in large apps, but those apps are a bit too large for me at the moment

biscuitpants12:05:32

i’d like to stick with Rum, we use it in prod (Nikita is on our team actually)

biscuitpants12:05:00

i’ve tried Om - i didn’t like the fact that you have to understand (and accept) all of David’s theories / ideas. some of them are really clever and strong, but not my type of lib to use

niwinz12:05:45

I understand, and agree. I'm not using om because don't agree with all David's ideas

biscuitpants12:05:08

yeah, likewise. it’s just a bit too over complected

biscuitpants12:05:20

but it did spawn the rise of other frameworks, which is great

verma16:05:59

I am trying to use rum in one of my new semi-large project, have always used om(traditional), but on.next is a beast I am not ready to tackle yet .. how do you propagate data down to your components, and how do you send send mutations out of those? .. I mean .. out of all the approaches rum as to offer .. what do you use?

verma16:05:46

e.g. rum/react, cursor or the datascript binds I see around the net?

niwinz17:05:59

I'm using mainly rum/react combining with lenses for watch just the needed state for the component

niwinz17:05:05

and avoid useless rerendering

niwinz17:05:19

also combined with static mixin

niwinz17:05:48

and unidirictional, stream based state management

niwinz17:05:01

similar to elm architecture maybe

verma20:05:21

ah nice @niwinz, thanks .. so your state mutations are through the lenses that you pass down the sub components?

niwinz20:05:24

not, is using some kind of event system

niwinz20:05:33

lenses are just read only vision of the state atom

niwinz20:05:50

and the state atom is just a materialization of state that lives in a stream reduction function.

niwinz20:05:54

I have plan write a blog post about that, but I still didn't found time for it.

verma21:05:17

a blog post sounds great!

verma21:05:35

I think that “event system” I am most curious about!