Fork me on GitHub
#cljsrn
<
2016-02-08
>
pesterhazy08:02:42

@adamfrey, @mjmeintjes, I've had the same problem with requireing assets

pesterhazy08:02:19

requiring works for the first time, but on reload it fails; I also ended up using defonce to get around this, which works well enough

pesterhazy08:02:29

I created an issue to track this problem, would be nice to get to the bottom of this: https://github.com/mjmeintjes/boot-react-native/issues/29

pesterhazy09:02:38

by the way, what's the exact reason of needing to set a global js var as in (aset js/global "Animatable" (js/require "react-native-animatable/index.js")) when using Google Closure? Something todo with externs?

alwx10:02:40

Luno (https://github.com/alwx/luno-react-native) has been updated to the last version of React Native (0.20.0-rc1). I also improved scene switching and replaced IntentAndroid and LinkingIOS with new Linking class. Enjoy simple_smile

pesterhazy10:02:32

how do you deal with rn prereleases? in my experience it's a pain in the ass with npm, because other dependencies (like animatable) depend on specific version ranges for rn

pesterhazy10:02:51

... and npm doesn't recognize -rc1 as a valid version range apparently