Fork me on GitHub
#cljsrn
<
2016-03-06
>
inhortte15:03:52

I'm trying to use react-native and clojurescript (https://github.com/mjmeintjes/boot-react-native). I'm having problem using React.fetch(url) as I want to use .then on the returned promise: (.then (.fetch js/React uri) (fn [res] ...)), but I'm getting "undefined is not a fuction (evaluating 'React.fetch(....)'. Does anyone have any pointers? (on Android)

adamfrey16:03:21

@seantempesta: I saw your conversation about the om.next and the RN router in the om channel, and I just wanted to let you know that I also feel like the current navigator/react-native-router-flux are too hacky right now to use in an om.next app. I pulled out the navigator in my app and am just using om.next to render different views, and I

adamfrey16:03:59

am maintaining a “route stack” in my app state so I can handle back button presses correctly.

adamfrey16:03:25

I’m missing the nice animations between screens, but that’s ok for now.

seantempesta16:03:59

@adamfrey: yeah, I’m still not sure what to do