Fork me on GitHub
#cljsrn
<
2017-08-12
>
naomarik06:08:29

thanks peter, it was a corrupt download of boost library. I purged my .rncache folder and it works now

pesterhazy11:08:51

Yeah I had the same problem

pesterhazy11:08:23

(s/peter/paulus btw)

naomarik13:08:00

hehe sorry 😉

naomarik13:08:29

anyone have opinions on using expo vs re-natal?

gtrak14:08:15

@naomarik I haven't been able to get expo to work, stuck on [exp] goog.require could not find: figwheel.connect.build_main with lein expo

gtrak14:08:42

the repl in re-natal works, but I think having those APIs out of the box adds a lot of value, eg. the built-in native components in re-natal are slim and I haven't figured out how to deal with that ecosystem after a couple of days.

gtrak15:08:05

same with boot

naomarik15:08:12

@gtrak i’ve only looked at this and it looks too simple to fail https://juxt.pro/blog/posts/native.html

naomarik15:08:16

maybe try that?

naomarik15:08:05

you can prob work in reagent and stuff after you get the basics working with pure cljs

gtrak16:08:50

yea, the template mentioned there is the broken part: https://github.com/seantempesta/expo-cljs-template , I totally believe i can get something to compile, but the REPL is pretty necessary

seantempesta14:08:18

@gtrak What about the template is broken? I’ve been traveling the past month and haven’t been paying close attention to Slack.

gtrak14:08:53

I had to bump figwheel versions

gtrak14:08:32

and had to run the fix from https://github.com/tiensonqin/cljs-exponent/pull/4 , available under a forked groupid

gtrak14:08:23

since I'm prototyping a game, I ended up ditching react native and am going with cocos2d-js, which claims to be able to deploy to native via embedded spidermonkey: http://www.cocos2d-x.org/wiki/Cocos2d-JS#12-Cocos2d-html5-and-Cocos2d-x-JSB

seantempesta14:08:12

oh, cool. well, good luck with that 🙂

gtrak14:08:34

oh, I think lein new expo still brings in the older one, that might have been part of the issue

gtrak14:08:38

https://gist.github.com/gtrak/9e39720b957c5240b02b45391c402d54 , at least in the boot template sidecar is 0.5.4-7

seantempesta14:08:58

oh yeah, I’ve given up on boot

seantempesta14:08:29

I don’t know it, and it’s been too much of a time suck to try and maintain everything

gtrak14:08:33

that whole ecosystem is really complex, seriously considered just learning kotlin 🙂

seantempesta14:08:11

yeah, clojure tooling leave a lot to be desired.

gtrak16:08:31

though really all you need for cider tooling is rhino

gtrak17:08:20

once I bumped figwheel versions I got to that error instead

naomarik19:08:27

i wonder what expo’s business model is? are they going to charge for something in the future?

seantempesta14:08:18

@gtrak What about the template is broken? I’ve been traveling the past month and haven’t been paying close attention to Slack.