om

Please ask the channel first, not @dnolen directly!
ag 2017-06-08T00:25:10.383099Z

sova: there doesn’t seem to be anything “special” about that website. This is not the argument “you can’t do X with re-frame”. Anything that can be done with Om.Next, absolutely can be built using Re-frame. I need specific reasons why Om.Next may be better than Re-frame. I personally (after using Om.Next for months) can say: I do feel it’s nicer and switching back to Re-frame totally feels to me like a backward step. But even after months I still failed to gain expertise required to defend the point in argumentation about the merits of choosing Om.Next

⬆️ 1
ag 2017-06-08T00:41:42.520512Z

I would definitely choose Om.Next for my own projects. But how do I convince people that this is indeed much better approach than Re-frame’s?

rplevy 2017-06-08T01:01:56.687679Z

It seems like the fact that the expertise was so difficult to gain speaks volumes though. From what I've seen, the two frameworks are approximately equivalent in expressivity for those who have affinity to one or the other. The biggest difference is that re-frame is clear after a day to almost everyone, and I can explain my application clearly to everyone, if it's written in re-frame. I know of two kinds of programmers when it comes to om.next. 1. smart people who admit to not understanding om.next. 2. smart people who understand om.next and love it, but can't explain it clearly to anyone.

rplevy 2017-06-08T01:18:44.822387Z

As best as I can tell, the true distinction comes down to what tools of thought accommodate one's established ways of thinking. And I don't think I'm being uncharitable in saying that it's a rare kind of mind that can be successfully extended by om.next (at least in its current state of development and documentation). This makes it better suited to solo projects than team projects (including open source projects), because it's important that teams be able to communicate in their shared code.

drcode 2017-06-08T02:48:03.497658Z

LOL What about those of us who love it, but don't feel they understand it?

🙂 1
swlabrtyr 2017-06-08T05:41:07.665187Z

Hey everyone, I’d really like to get into om, however I do not know react. I do know JavaScript pretty well, and am not averse to learning react, however I’d rather just get right into om if I can. I’ve searched around the interwebs for answers and most people seem to say that no, you can just jump into om, however I am a bit skeptical…

2017-06-08T05:45:25.695919Z

I would say you can definitely jump straight into om and pick up bits of react along the way. You really only need to understand the basics of react i.e. the main lifecycle methods and the difference between state and props.

claudiu 2017-06-08T05:55:27.765863Z

Have you given any thought to untangled, middelway since it simplifies om-next flow a bit ?

2017-06-08T17:55:52.400737Z

I am trying to use "placeholder nodes" (https://github.com/omcljs/om/issues/823#issuecomment-260164185) as a workaround for multiple child components that need different views of a parent attribute (https://github.com/omcljs/om/issues/823) . Everything (mutations, path metadata, component refresh etc.) works correctly in the subcomponent, except for dynamic queries and the use of set-query! in the subcomponent. The use of set-query! results in a

Cannot read property 'call' of null
exception. I have created a minimal case using 1.0.0-beta1 that reproduces the issue here: https://gist.github.com/symfrog/75bf8955722b26cd4370989dace60e2e . If the call to update-query! on line 23 (https://gist.github.com/symfrog/75bf8955722b26cd4370989dace60e2e#file-placeholders-cljs-L23) is removed, then the issue does not occur. The issue seems to be related to reindexing after update-query! has been invoked for components for which the parent pulls the subcomponent's query into its own query at a level deeper than the 1st level. Does anyone know what the cause might be?