Comment by nightpool
21 hours ago
This is a great point that I wish the Shopify article went into in more depth! Would love to hear if they considered this
21 hours ago
This is a great point that I wish the Shopify article went into in more depth! Would love to hear if they considered this
I believe they have a more in-depth posting that talks about it
https://shopify.engineering/shop-app-migration
The blog post doesn't mention the personnel-related challenges with having two native platform teams working on the app.
The post DOES give more information as to why they looked at switching from React Native to native Platform APIs.
React Native is forcing a major refactor of React Native apps in switching to the React Native "New Architecture" (see https://reactnative.dev/architecture/landing-page).
So if Shopify had to do major refactors of all their React Native apps, maybe they could look at what it would take to go back to native Platform APIs.
from https://shopify.engineering/shop-app-migration
The result of that native platform APIs side project involving six devs converting the app's major user workflows?
- startup time reduced: iOS by 23%, Android by 50%
- crashes - 10x reduction
- app size - iOS increased by 1MB (67MB -> 68MB), Android reduced by 109MB (37.2%)
- build time - Android release build time fell ~75%.
- runtime perf - Android builds could draw at 120fps while scrolling feed and switching screens