by moughxyz · 3y ago · 0 comments
Nothing says “I don’t give a crap about our users or the user experience” like building a web app or using a cross-platform toolkit. It telegraphs you mainly care about doing it as cheap as you can instead of just building a good app.
The only way to build a decent mobile UX is by making an actual native app.
My experience with XP tools is that if you build anything but the most trivial of apps you keep running into issues where you have to do platform specific workarounds. Eventually it becomes an unmaintainable mess of exceptions and workarounds.
In the long run it’s faster and easier to just build a native app for each platform. That way you can provide the native UX a user of each platform expects without compromise.
> just
?
> The only way to build a decent mobile UX is by making an actual native app.
And that’s the problem.
But React Native is an actual native app. It is entirely compiled down to native code for your respective platform. I agree that the "hybrid" approaches of days gone by (Ionic, Cordova, Phonegap, et. al) were a terrible mess. But there is fundamentally no reason why RN cannot be equally performant to Swift/Kotlin based apps.
Has this changed recently? It’s been my understanding that react native has corresponding native components for many UI elements and uses them. But your react logic is still executing as JavaScript.
Yes, but this is no different than how native works. On iOS, The JS Bridge compiles to bytecode and talks to the Obj-C runtime for native needs like Cocoa, just as Swift does.
Sure you could get better performance by writing your apps directly in Obj-C, but I don't think many people want to go back to those days.
What a better world we'd have if Apple and Google agreed upon a common UI toolkit baseline.
I'd rather a small, scrappy company spend their limited resources on solving their core competency and value prop than fitting to these two stupid and needlessly different platforms.
Web should have won. It still has a good chance. We should have a "native web" in the future: WASM, hardware renderer access, device control, and more. That'll be the target to develop for.
Building for Apple and Android is a total waste of annual human cognitive resources. I hope every company starts doing cross-platform.
the web has won for a lot, but the companies that want to own their ecosystem, and have learnt from their past mistakes. Mobile is a fresh start, and they specifically made it so that web is a 2nd class citizen.
And what is the core competency?
- yet another syncing backend in 2023?
- figuring out another encryption?
- writing yet another web app in the guise of a mobile app?
- writing a notes app that locks the content and doesn’t even let you have raw files on your computer in easily readable format?
This is just absurd reasoning.
If you care about UX, you should make native apps.
They're trying to make a useful app for humans, not trying to win the HackerNews Award for Excellence in UX. If accepting a little unfixable edge case jank makes their goal way easier to attain, they're going to end up with a much better app overall
This problem has been solved many times over the last decade or so. So claiming that _this_ is the future and not the more established (and smooth!) solution has to be supported by at least some evidence.
We should however be clear about our trade offs and not pretend that web apps can replace native apps.