Fork me on GitHub
#reagent
<
2015-12-03
>
danielcompton02:12:04

@tmtwd: re-frame is an alternative to om

nbdam10:12:35

I dont know much about om, but my understanding is it is perfectly compatibile with something like re-frame. You just need to port it..

jaen10:12:51

Well, om is somewhat more than just view layer (as reagent is), so this might be awkward.

mikethompson11:12:44

om (original) was pure view, like reagent. As I understand it, om.next tries to provide more architecture.

jaen12:12:24

Well, it wasn't exactly pure view if it was opinionated about the shape of state (single atom, using cursors etc.). In reagent you can implement it this way or another.

trancehime12:12:37

you needed to do some reify stuff with om, right?

jaen12:12:11

Yeah, it used protocols to implement React lifecycle events, reagent has this - https://github.com/Day8/re-frame/wiki/Creating-Reagent-Components#form-3-a-class-with-life-cycle-methods - with sugar for common case.