I limiti della piattaforma Web in ambito Mobile in termini di performance ed UX sono palesi a tutti. D'altro canto il mondo nativo è un ambiente ostile in termini di produttività e DX (Developer Experience). Cosa succederebbe se si potesse sviluppare con gli strumenti (e linguaggi) a cui tutti siamo abituati col Web e produrre App native? Ecco React Native. La vera novità è che React Native è già sull'App Store da Gennaio con "Facebook Groups" e "Facebook Ads Manager". Da Giugno, anche su Play Store. Il mantra suo è: Learn Once, Write Anywhere.
9. @_gespositoHow Hybrid Mobile performs...
“[...] best known Android score for this
benchmark is right at ~400ms on a
Samsung Galaxy S6. That doesn't seem
too bad until you compare..
iPhone 5 → 340ms
[...]
iPhone 6s → 60-70ms”
Source
10. @_gespositoHow Hybrid Mobile performs...
“[...] It seems the Android manufacturers
are more interested in slapping n slow
CPU cores on a die than they are in
producing very fast CPU cores.
And this is quite punishing when it
comes to JavaScript.”
Source
22. @_gespositoRun
To run your app on iOS:
● Open
/Users/gesposito/Code/AwesomeProject/ios/AwesomeP
roject.xcodeproj in Xcode
● Hit Run button
To run your app on Android:
● Have an Android emulator running, or a device
connected
● cd /Users/gesposito/Code/AwesomeProject
● react-native run-android
Source