Fork me on GitHub
#cljsrn
<
2016-12-11
>
vikeri11:12:48

@martinklepsch Full blown XCode, sometimes you have to open it up to change sone obscure settingโ€ฆ Starting an RN project?

martinklepsch11:12:21

@vikeri yeah, wanna play around a bit to get a feel, "just in case... " ๐Ÿ˜„

vikeri11:12:01

@martinklepsch Alright, sounds good! Welcome to the group! We have some trouble with RN 0.39 that we probably need some boot-fu to solve ๐Ÿ˜‰

martinklepsch11:12:12

yeah happy to contribute if I get into it ๐Ÿ™‚

martinklepsch11:12:42

"We" you and your team or the boot-react-native peeps/maintainers?

vikeri11:12:20

boot-react-native peeps

martinklepsch11:12:24

yeah, so hope to get into it but probably I'll delay until end of next week because that's when I'll get my new comp and I don't want to setup/download all that stuff now to do it again in a week ๐Ÿ˜„

pesterhazy16:12:26

@martinklepsch unfortunately you need the full xcode, no way around it today for ios development

pesterhazy16:12:18

I don't open XCode itself very often (I use react-native run-ios), but sometimes you do need it as @vikeri mentions

pesterhazy16:12:08

@jorda0mega, unfortunately no docs, but I can possibly explain things here if you have a specific question

pesterhazy16:12:25

I'm also curious about the role of .babelrc

vikeri17:12:43

@jorda0mega @pesterhazy About .babelrc, it is found by the react native packager and then used when transpiling the (optionally ES6) code to JSCore compliant js. The .babelrc that I added to boot-react-native sped up my compilation a lot since it ignores all the output from the cljs compiler which is already ES3.

jorda0mega17:12:58

so Iโ€™m curious to know if I can add babel plugins to .babelrc for additional transforms (e.g es6 decorators)?

pesterhazy17:12:34

what benefit would you expect from that jorda0mega ?

jorda0mega17:12:09

well I was running into an issue with decorators being used in ex-navigation and kept getting an error during the transform

jorda0mega17:12:35

so I was wondering if that would be a viable approach or if there is another way

vikeri17:12:11

@jorda0mega I think you can add your own preset

jorda0mega17:12:13

@vikeri interesting. let me try with that preset. but just so that I understand better, only the react-native-packager makes use of .babelrc right?

jorda0mega17:12:10

so basically boot transforms cljs code into es3 js. then react-native-packager picks up this code transforms it through babel (if needed)?

jorda0mega17:12:55

@vikeri @pesterhazy sweet. thanks for the help guys. I really appreciate it!

vikeri17:12:31

@jorda0mega No worries ๐Ÿ™‚

pesterhazy17:12:41

let us know if it works

vikeri17:12:07

I might migrate to ex-navigation myself so then youโ€™ll have to return the favor ๐Ÿ˜‰

jorda0mega17:12:09

haha for sure. hopefully I'll know what I'm doing then ๐Ÿ˜