Fork me on GitHub
#cljsrn
<
2016-08-23
>
vikeri06:08:08

Any thoughts?

artemyarulin06:08:35

@vikeri: Seen it a lot of times, I guess in JS community it got a lot of attention, although I still don’t get it - it’s just a wrapper for RN with some included components or does it include something more?

vikeri06:08:20

@artemyarulin It tries to fix som of the not so well documented features such as publishing the app and not having to use xcode/android studio.

vikeri06:08:56

But I don’t know how good it is for someone who has already poked around a while in the RN world.

artemyarulin06:08:23

One more level of abstraction and then REPL doesn’t work - is it CLJS/JS/Boot/RN/Exponent oh boy … 🙂 Yeah, I guess I’m not a target audience - I’m coming from iOS development so opening XCode is not that scary. BTW (I’m actually think they use it under that hood) - for publishing to stores (and for many others): https://fastlane.tools

vikeri06:08:48

@artemyarulin True, but if push notifications take ten minutes rather than two days I’d be happy to try to get those parts. But yeah, I’ll stick to more config for now. Fastlane is great! From browsing the landing page to publishing an iOS-app to Testflight in one day :thumbsup:

pesterhazy08:08:38

fastlane in a gift from the heavens

jellea08:08:41

@vikeri: PN come with "vanilla" react-native now as well.

jellea08:08:53

Hope those components are separately available as well.

vikeri08:08:33

@jellea Oh yeah? I had to use the following lib: https://github.com/zo0r/react-native-push-notification Did not see any Android implementation of Notifications in vanilla

jellea08:08:31

@vikeri: oh no android indeed!

tianshu11:08:00

How to migrate from re-natal to boot-react-native?

tianshu11:08:54

the error message in re-natal always been cut at figwheel-bridge, rarely see .cljs file in error stack with source-map enabled.

balint12:08:57

@doglooksgood: i usually turn on remote debugging in chrome when something is fishy, although if BRN is a better experience at debugging i might have to look at that

pesterhazy12:08:06

@doglooksgood, the error messages you get are in the cljs file

pesterhazy12:08:23

currently no sourcemaps though, so you see the file/line of the transpiled js output

pesterhazy12:08:32

which is still pretty readable I think

pesterhazy12:08:48

you also get the Red Screens, which are often helpful

pesterhazy12:08:14

to migrate, I'd suggest you try to get SimpleExampleApp running, then copy over the build.boot to your project

pesterhazy12:08:02

^^ what I said was about BRN by the way

surreal.analysis12:08:33

I’m rather new to any iOS development, and figured I’d play around with re-natal, and have a couple questions. 1) Does anyone have suggestions on integrating Cider with the figwheel repl that’s started? I’m not sure if it opens a port for Cider to connect to, or how I would go about doing that. 2) If I modify the example app in some way that’s invalid (e.g. setting font-weight to 30 on a text block, which is an invalid option) I see a red screen that implies I should be able to reload or dismiss the error, but pressing Escape, CMD + R, or trying to click the buttons didn’t do anything. I ended up just closing the simulator, and relaunching the app from XCode. Is there an easier way?

artemyarulin13:08:25

@surreal.analysis: Cider works fine with RN - Have you checked this part of README? https://github.com/drapanjanas/re-natal#starting-figwheel-repl-from-nrepl About second issue - by default iPhone simulator doesn’t catch your keyboard shortcuts, you can enable them in Menu - Hardware - Keyboard - Connect Hardware Keyboard

artemyarulin13:08:39

oh, re-read your question that it doesn’t respond to clicks - hm, maybe you have remote debugger attached, it should work fine

surreal.analysis13:08:35

Thanks! That helped me fix both my issues

surreal.analysis13:08:43

Definitely just skipped over that section of the readme, not sure why

surreal.analysis13:08:07

And the remote debugger aspect clued me in to the fact that I launched XCode, and it had paused execution

surreal.analysis13:08:20

Launching without XCode works exactly how I’d expect

pesterhazy14:08:44

does anyone use react-native log-ios? It's so cluttered with random, useless messages that it's really hard to read

pesterhazy14:08:46

I tried to filter out the noise using a simple regex script but it sort of gets stuck sometimes

pesterhazy14:08:14

No new messages appear -- that's pretty annoying when you're using logging to debug something