Fork me on GitHub
#cljs-dev
<
2020-04-19
>
afhammad13:04:20

@dnolen I'm trying out Krell (i'm new to the whole react-native ecosystem, and been away from CLJS for a while), I've installed an npm dependency, and requiring it appears to find the namespace (doesn't throw a "No such namespace") but it's value is just nil. Does it need to be added to either of deps.edn or build.edn?

cljs.user=> (require 'react-native-calendars)
nil
cljs.user=> (type react-native-calendars)
nil
cljs.user=> (require 'react-native)
nil
cljs.user=> (type react-native)
#object[Object]
Thanks

dnolen13:04:57

You can’t just install a dep and require

dnolen13:04:10

Metro needs to rebuild

afhammad14:04:21

Have tried restarting both Metro npx react-native run-ios and Krell but still no luck.