Fork me on GitHub
#reagent
<
2016-04-08
>
odinodin11:04:57

anyone got React.addons.TransitionGroup working with Reagent (not the CSSTransitionGroup) ?

sjol18:04:12

Are there any tips on tracking down performance issues with reagent? I am using secretary and cljs-ajax with reagent and in many places I am passing the app-state. although it's fast in terms of loading data there seems to be slowness in the animations of transitions or when using external javascript libs.

sjol18:04:47

this is a project I was doing in OM, that I'm re-writting in reagent

naomarik19:04:29

@sjol just out of curiosity why are you rewriting in reagent from om?

naomarik19:04:58

i haven't really explored Om myself because reagent was way too easy to comprehend and build something without knowing anything so I've kinda stuck with it

sjol19:04:45

@naomarik: I was getting weird issues with the atoms and cursors, and trying to on-board new people into the code was harder than expected. Reagent it turned out made the code look simpler. I do use create-class for a few things, all in all it's been going along well. I'm just not quite sure how to optimize the code or find out the culprit for misbehaving components. The use of ^{:key ...} has been my goto for now, just not sure what else after that.

sjol19:04:15

reagent is not always showing what I'd expect when doing a google search...!

sjol19:04:53

Also with OM I was using OM-tools which helped a lot to make components

naomarik19:04:06

have you tried using chrome's timeline to see where things are getting hung up?

naomarik19:04:17

you can record a short interaction in your app and see how long function calls are taking and what it's doing

sjol19:04:50

@naomarik: I have and everything seems nested pretty deep. and my last try with figwheel on seems to have adverse effects on my machine... I may need to reboot