Fork me on GitHub
#reagent
<
2017-10-03
>
gonzih12:10:57

Hi guys, I need a bit of advice on reagent/react interop. Im looking at react transition group stuff right now https://reactcommunity.org/react-transition-group/. What I need is lambda syntax to a transition group (fn that receives state and can render component differently based on state) but I cant figure out how to achieve similar result in reagent. Any suggestions on where to look for the solution? Thanks!

curlyfry15:10:20

@gonzih Have you looked at reagent/adapt-react-class?

gonzih16:10:11

@curlyfry yeah, i tried everything I could think of. 😆, adapt-react-class etc etc. I gave up so far and went towards different direction completely. Thanks anyway!

reefersleep17:10:44

I tried using this new version of react-transition-group as well, @gonzih , and didn't succeed (yet)

reefersleep17:10:55

I'll try to remember to put up a guide if I succeed