Fork me on GitHub
#cljsrn
<
2016-09-07
>
vikeri07:09:56

@misha There are a couple of implementations, here’s one https://github.com/vikeri/re-navigate

misha08:09:51

that's a re-frame one ; )

misha08:09:08

but I'll have a look, thanks, @vikeri

vikeri08:09:11

@misha Oh you mean Exponent’s Navigation? Didn’t understand that...

misha08:09:28

my main questions are how to stack views, how to make a certain one - visible. + transition animations I guess. I don't like the feel of interoping with stateful js, which requires roundtrips of clj->js/js->clj

misha08:09:43

Now I use multiple (.-Navigator ReactNative), push and pop views on those, but keep/store history and arguments (routes) separately just to avoid clj->js/js->clj roudtrip issues. and it feels like a hack

vikeri08:09:37

@misha Well the NavigationExperimental that re-navigate is based on is using a much more redux-like pattern which makes it ideal for re-frame or other more functional approaches.