Fork me on GitHub
#om
<
2016-10-25
>
dzannotti11:10:00

Did anynoe attempt routing in om-next in react-native using the navigator-redux components?

danielstockton11:10:27

@dzannotti you might want to try #cljsrn

dzannotti11:10:46

oh thanks 🙂

andrewhr12:10:35

agree @arohner! I always reach that post as a first move

dzannotti14:10:08

is using add-root! on route change a bad idea?

jonsmock15:10:26

@anmonteiro P.S. it was a bug in my send. Thanks for responding! Have a great time at EuroClojure and thanks for compassus!

arohner21:10:00

are we allowed to do non-Om side-effects during (defmethod mutate :foo)?

ag22:10:47

@dzannotti we couldn’t find another way and did that. we’d remove root and add-root!. That turned out to be bad thing to do. I’m guessing you’re trying to get some dynamic routing?

dzannotti22:10:43

@ag react-native routing, i'm thinking of adopting a compassus alike solution

ag22:10:33

@dzannotti native or not, think about it, essentially re-rooting the app means hijacking its state.

ag22:10:48

imo bad idea.

dzannotti22:10:16

@ag agreed, i was thinking more along the lines of using set-query! on navigation

dzannotti22:10:36

but i think that's just as bad, so i'm investigating alternative, we had a pretty decent discussion earlier in #cljsrn about this

ag22:10:03

@dzannotti have you looked into Compassus at all? I haven’t tried native yet, but I’m curious, I hope Compassus can be used there

dzannotti22:10:56

I have, but i am not sure how to integrate it with re-natal atm, made a mental note to look at this after work, but i've been distracted all evening, just opened GH on it right now

ag22:10:48

@dzannotti ok, cool. good luck.