Earlier quoted context omitted.
> I think people in the tech community have probably also noticed that it's rather popular to have an absolute opinion on the goodness or badness of these tools. I don't think that's necessarily true. Nuance is a thing. These tools are bad, objectively! They give inferior user experiences, and waste resources (ever more important now with RAM prices what they are). But that doesn't mean I can't understand or even agr…
I don't have any actual experience with React Native and Electron, but with that caveat out of the way I personally think tools get far too much blame that should be on developers. For an example that I actually have experience with, React very frequently gets criticized for being slow, heavy etc. React is not slow. I can make (have made) fast and snappy websites in react. React can render at more than 60fps if neces…
Shopify is moving from React Native back to Swift and Kotlin
261–270 of 962 posts
Re: Shopify is moving from React Native back to Swift and Kotlin
#262Companies can now just afford to maintain a hundred different native apps, rather than settle for a write once, run anywhere approach.
Re: Shopify is moving from React Native back to Swift and Kotlin
#263Earlier quoted context omitted.
> You just install it on your phone and use the app. Some people on the cybersecurity side are starting to cry....
Why? The api has to be secure. Mobile os keeps the app safe. Where is the attack surface?
Re: Shopify is moving from React Native back to Swift and Kotlin
#264I'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…
Re: Shopify is moving from React Native back to Swift and Kotlin
#265Re: Shopify is moving from React Native back to Swift and Kotlin
#266Dropping React and going back to raw JavaScript next? I am still mourning pre-React GitHub. Maybe rose-tinted glasses, but it was so pleasant to use
I would attribute that more to culture. For example https://diffs.com/ is built in React and it's basically instant.
Re: Shopify is moving from React Native back to Swift and Kotlin
#267Earlier quoted context omitted.
Are you saying you don’t trust ZDR claims from inference providers? They don’t care about your code. There’s more and better data on the public web.
Isn't ZDR only the case if you "opt out" through a setting? Lots of opportunities to make a mistake here, or for the LLM provider to play games. You could be unaware of the setting. The provider could reset the setting upon subscription lapse/renewal, application update, model release, etc. A developer could accidentally use their personal subscription (w/ setting on) on a work codebase. Also what's the timing on thi…
And there are solutions around it from other providers and model routers. OpenRouter lets you explicitly say on a per-request basis you don’t want to be routed to a provider that trains on your input, for example.
Re: Shopify is moving from React Native back to Swift and Kotlin
#268> When simulator interaction is needed, the CLI can connect to them via a remote mode and drive the UI via commands without having to inspect the layout or the accessibility tree. This enables blazing-fast performance and E2E tests.
I think I'm not following. Don't you still need to test the accessibility tree and layout in the actual layer the user will interact with?
Re: Shopify is moving from React Native back to Swift and Kotlin
#269If you put every company that needs/has an app on a spectrum, there is a line somewhere that roughly divides them into two groups: where Electron/React Native/etc. makes sense or not. It's just a normal engineering decision: solving problems given limited resources. Companies have different problems and different resources. I think people in the tech community have probably also noticed that it's rather popular to ha…
And the “makes sense or not” part can change based on a bunch of factors. It’s actually pretty common for a new company to start fully native (only iOS, few features, limited scope), then switch ro react native/electron (need to support more surfaces, features are being developed too quickly), then back to fully native (can afford individual dev teams for each platform).
Re: Shopify is moving from React Native back to Swift and Kotlin
#270Earlier quoted context omitted.
> You just install it on your phone and use the app. Some people on the cybersecurity side are starting to cry....
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
2. Wild use of webviews/iframes sometimes easily propagates as XSS in phones
3. Incorrect client-side OAuth 2.0 configuration e.g. with schema-based redirect URLs.
4. Not supporting high-enough API versions, which may prevent some OS-related weaknesses
5. The list is actually very long. Just few top of my mind.