Fork me on GitHub
#cljsrn
<
2017-06-27
>
manutter5100:06:24

Actually, I’m not even to the point of trying to require anything yet. I’m trying to just compile the basic app you get from re-natal init plus the npm installs.

manutter5100:06:48

I’m getting “Cannot find entry file index.ios.js…” and this:

pesterhazy07:06:21

@manutter51 did you do re-natal use-figwheel?

manutter5110:06:29

Yeah, I’m cycling through about 7 steps: reset the packager cache, delete node_modules, npm install, react-native link, re-natal use-ios-device simulator, re-natal use-figwheel, react-native run-ios, and rlwrap lein figwheel ios

manutter5110:06:59

The issue I keep getting is it complains about missing a lib for RNSVG for tvOS. I think I just haven’t hit the right combination of versions yet, but I’m trying different combos from the react-native-svg README

manutter5110:06:28

I get different issues at different times, but I think that’s the significant one.

zlrth15:06:49

do i need to re-natal use-component if the library i’m using is packaged in cljsjs? i’ve included [cljsjs/rc-slider "4.0.1-0"] in project.clj and [cljsjs.rc-slider] in my namespace and i get Uncaught TypeError: Cannot read property 'createClass' of undefined. that is, i haven’t js/required or anything, nor used the library.

pesterhazy16:06:14

no you don't have to run use-component that with cljsjs libraries

zlrth16:06:58

thanks @pesterhazy. i’ll keep digging as regards this error

pesterhazy16:06:04

but does that component work in react-native??

pesterhazy16:06:28

isn't it a web component? we don't have any RN components in cljsjs

zlrth16:06:05

ahh. hm. i guess i mistakenly assumed that it was a pure javascript lib based on other libs being so

pesterhazy16:06:08

web v native are different beasts, with little or no overlap

ingared17:06:02

I’m trying to find some good data visualization libraries for my react (using rum) application. Any suggestions or links ??