Earlier quoted context omitted.
Nobody is talking about the real advantage of RN: Being able to release to the App Store without having to go through a review. That's so massive. Getting a bug fix out to users instantly, sneaking in optimizations, etc.. Sure, you need a review to release native code changes, and you should probably get a review if you have big feature changes just for the sake of Apple not banning you. But in practice, it removes o…
Are you saying a native app can't make an http request and update the code they JIT?
Shopify is moving from React Native back to Swift and Kotlin
551–560 of 963 posts
Re: Shopify is moving from React Native back to Swift and Kotlin
#552Earlier quoted context omitted.
Are you saying a native app can't make an http request and update the code they JIT?
It can download Javascript (or other interpreted language, or config data), but you generally can't download and execute new compiled native code on iOS, due to iOS code-signing/executable-memory restrictions. Also keep in mind Apple might penalize you for dodging the review process and shipping new features, etc. (btw, one exception to the JIT rule is custom browsers for the EU)
Re: Shopify is moving from React Native back to Swift and Kotlin
#553Earlier quoted context omitted.
Are you saying a native app can't make an http request and update the code they JIT?
Doing so would require the app to have the business logic written in JavaScript. Apple only allows JIT’ing JavaScript using JSC.
Re: Shopify is moving from React Native back to Swift and Kotlin
#554Earlier quoted context omitted.
Are there cybersecurity concerns in the frontend? I would have thought you have to assume the client is untrusted and only do security work on the backend
Nailed it. Assume your client is compromised and/or malicious regardless of how it was built.
Re: Shopify is moving from React Native back to Swift and Kotlin
#555Earlier quoted context omitted.
I think this is something we’ll see AI very meaningfully impact — the threshold needed for “Get this thing working on a tech stack we might not be familiar with” has gone waaaaaaay down.
It's worrying to say the least. Today it's "get this working", tomorrow it's "can it also do XYZ?", next week it's "we have a 40% spike in crashes, you MUST resolve this IMMEDIATELY!" Meanwhile the devs are furiously asking AI how to fix it, every flavor of every model will give you a different diagnosis, GH Copilot will throw a million high/critical at you, and you still have no idea if it's fixed or not. It's the e…
Re: Shopify is moving from React Native back to Swift and Kotlin
#556Re: Shopify is moving from React Native back to Swift and Kotlin
#557I'm sitting here at my desk overlooking Cordova Street. The street that Apache Cordova is named after. I've seen this debate for almost two decades now. Teams jump on the latest cross-platform framework assuming that it will reduce headcount cost at the expense of having a lowest-common denominator app on each platform. The latter is true but the former is false. What ends up happening is that teams start as 20 iOS e…
I've dumped all cross-platform frameworks as well. I tried many of them but they just weren't good enough, even for simple stuff. There were always glitches and teething problems that marred the overall quality compared to the native version. I'm currently maintaining versions for both iOS and Android.
Re: Shopify is moving from React Native back to Swift and Kotlin
#558As an iOS Engineer that has been fighting the battle against every C-level type who brings up the subject of a shared codebase my whole career, I feel very validated.
Re: Shopify is moving from React Native back to Swift and Kotlin
#559Plus now with iPhone Duo which has so much variation in layout, I don’t think React Native would work well for it.
Re: Shopify is moving from React Native back to Swift and Kotlin
#560As an iOS Engineer that has been fighting the battle against every C-level type who brings up the subject of a shared codebase my whole career, I feel very validated.