▲ | Migrating to React Native's New Architecture(shopify.engineering) | |||||||||||||||||||||||||
38 points by vidyesh 4 days ago | 16 comments | ||||||||||||||||||||||||||
▲ | yomismoaqui 11 minutes ago | parent | next [-] | |||||||||||||||||||||||||
The only constant in mobile development is churn. I had apps on Google Play and every year I had to upgrade libs, recompile and loose and afternoon (or two) to not win anything, just churn for the sake of churn. Compare this to plain HTML, CSS & vanilla JS. You can deploy a webapp today and if you are not using any beta JS Chrome API you will be able to use that site in 10 years without touching a line. | ||||||||||||||||||||||||||
▲ | renegade-otter 30 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
The problem with relying on these high-level frameworks, or heavy frameworks of any kind, is that one day they will change their entire approach to how things should be implemented, and then you have a giant pile of legacy on your hands. I learned that lesson the hard way with ExtJS 3 => 4, and now my wife claims I have commitment issues. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | afavour 16 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
I have a lot of respect for the work the React Native folks do but at the same time the constant reinvention just highlights an inherent weakness in any framework like this: you don’t control the platform, so you’re always always at least one step behind. Sometimes that tradeoff is worth the cost but other times (particularly in the era of Swift and SwiftUI having replaced Objective C and UIKit) you’ll be better off just biting the bullet and learning a little native code. As a JS developer I found Swift to be a delight. | ||||||||||||||||||||||||||
▲ | mellosouls an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
Perhaps it's buried in the article somewhere but I think it should highlight in the introduction what business problems were solved or improved, and what the original architecture was; essentially why this major migration was undertaken. | ||||||||||||||||||||||||||
▲ | twelvedogs 6 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
I tried a little while ago, sticking to raw HTML sucks arse, basic shit that should be built into the language like file upload is fucking painful. If react is too heavy just say react is too heavy | ||||||||||||||||||||||||||
▲ | brazukadev 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
A new React native architecture again?! I bet later this year we will have a new React (base) architecture change too | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | mcsniff 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Still no dark mode, it's almost as embarrassing as HN not having dark mode. Yeah I said it, again. https://news.ycombinator.com/item?id=34263628 In the time it took to write this self-congratulatory post, they could have used the AI they push down everyone's throats to add dark mode to the mobile app. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | xutopia 21 minutes ago | parent | prev [-] | |||||||||||||||||||||||||
React is a bad idea imo. I see small teams do way better with plain old HTML augmented with minimal Javascript. React itself is huge to download and slower to execute. I can't believe we're still stuck in React world. | ||||||||||||||||||||||||||
|