Quick update - om-tools and 0.8.0-alpha2 does appear to work with mixins, I 
must have had a dodgy cache somewhere...

On Wednesday, 19 November 2014 17:22:08 UTC, Colin Yates  wrote:
> Hi all,
> 
> Can anybody point the way to using mixins with reagent?
> 
> Discovering om-tools mixins don't work with om 0.8 
> (https://github.com/Prismatic/om-tools/issues/58) might just tip me over the 
> edge into reagent :). I realise I could go back to om 0.7.1 but then I would 
> have to give up the reference cursors which I also don't want to do. I would 
> love to contribute to om-tools but at the moment I just don't have the 
> knowledge/bandwidth.
> 
> Let me be clear - om is fantastic from an engineering point of view, but I am 
> finding myself butting heads with it quite a bit and from what I read/see, 
> reagent might suit my tastes a little better.
> 
> On a related point, mixins don't seem to have much take up with om or 
> reagent, which makes me think I am missing something. Already I can see the 
> need for the following:
>  - remembering scrolling positions (I don't hide tab children I only render 
> the selected child for example)
>  - fixing table headers (if only we could use the brilliant 
> http://mkoryak.github.io/floatThead/)
>  - debugging mixin which simply prints out lifecycle events
>  - channel housekeeping when creating channels for child components
>  - performance profiling (so keeping counts for example of rendered 
> components)
> 
> and so on.
> 
> I really want to do something like:
> 
> (-> my-component
>     with-debugging
>     with-scroll
>     ..)
> 
> but I just can't figure that out with om without mixins.
> 
> Hmm, could Wednesday evening be the me-and-om breakup and me-and-regeant 
> sitting in a tree, kissing (sorry, spent too long with my 8 year old :)).

-- 
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