Fork me on GitHub

@mengu We use the new React Navigation library and it works well for us:


@vikeri I have to change Product Scheme's Build Configuration to Release to make it work. Just curious, do we have to do the this thing for every other react project ( I had the same error all the time with react native project ). The error is:


libc++abi.dylib: terminating with uncaught exception of type NSException


@nxqd To make re-navigate work? I have never seen that error before


yeah. I got the error then I have to edit Product Scheme and run the project within xcode to make it work.


I'm not sure what's wrong but I have this kind of problem all the time when I try out react native project.


Hmm, weird, do you have the latest XCode?


Version 8.1 (8B62)


Very strange, I’ve never seen that issue before


@vikeri I think it's my Mac's problem or something. Thanks for the example btw 🙂


@nxqd Ok, good luck debugging it! Thanks 🙂


I know this has been discussed several times, but which http library are people using? We’ve been using raw js/fetch but now is the time for something proper. I know cljs-http doesn’t work with js/fetch out of the box. What about cljs-ajax?


> It's early days but I feel ClojureScript + Expo is one of the best options for building large, sophisticated apps on mobile. I'm sceptical. Expo has its limitations and if you're able to stay within them, it's great.


However, the moment you need to introduce any native code (that is not not part of Expo) by yourself, you lose all the benefits


Exactly, for CRUD-apps, awesome! For apps that need Bluetooth, Background jobs etc. Impossible.


IMO, if you're the both PO and dev on the project, for example working on something small and not complicated - sure, you can benefit from it But if you're working on a bigger project and have outside requirements - I wouldn't bother with Expo


Would it be very difficult to write an Android/iOS wrapper to hook into the Expo framework?


if you needed more functionality than Expo offered


I'm not sure that's possible (definitely not easy) - Expo is not a framework, but a whole application platform


gotcha. i’ve just started reading about it but I don’t know much about how it works


Meaning, you only put JS on top of their platform


well if you added another component to their platform you could encapsulate the native code I would think


similar to how their native components work, but I’m guessing it would be difficult


@dehli I assume that a lot of the benefits will break as soon as you put your native code into the mix. You can’t just load whichever js bundle then and make them run anymore for example. The point of Expo is that all apps have the exact same Native code, which means that a lot of assumptions can be made.


Gotcha, ya that makes sense. What are some examples of things that cannot be done in Expo?


I'm not really up-to-date with what's currently built into Expo, but two things come to my mind straight away: * background jobs: you can't do them in JS, need to write native code * integrating with less popular SDKs: if Expo doesn't contain a wrapper for them already, you're in trouble


@wojciech Actually, we’re doing background jobs in js: but it relies on Native code.


> This library relies on React Native's HeadlessJS which is currently only supported on Android. Do I understand properly it won't work in iOS?


Yes, HeadlessJS is not implemented there yet. And actually the background job story for iOS is a lot more restricted


I'm working mainly on iOS recently, I forgot on Android it's possible 😉


gotcha, so client heavy apps are gonna be tough using expo but they’d be pretty tough with react native as well i’m guessing


It's all relative. React native in general allows you to simplify the amount of duplicate code you have to write and maintain. The trade-off is upfront work in research and evaluation. Clojure can simplify your codebase further but the language is arguably harder to hire for


Has anyone had success using Reagent with RN 0.43?


42 works just fine unless you need something in 43


We're using Expo and we need something in the latest version which depends on 43