Reputation: 11389
All:
I am thinking of starting React Native, one reason is many people talk its performance is better than other Hybrid Framework, but I am wondering how React Native make it faster in Mobile, I thought all hybrid app is like a web app run in a webview, is the way React Native uses different from Cordova? Could anyone talk about the procedure how React Native is turned into a mobile app?
Thanks
Upvotes: 0
Views: 173
Reputation: 9684
I agree with the other comments. Your question is a bit broad, but the short of it I think is that hybrid apps rely on the WebView, so they're performance is limited by the browser's performance, which is of course single threaded. Getting 60fps animations is a constant struggle for Hybrid apps, though they're getting better all the time both in terms of the browser's capabilities and technique.
React Native bridges to native components, so you get native performance characteristics. Things like calculating the view are offloaded acync to separate threads, so the user's experience is never blocked.
Here's a useful list of other benefits... WHY REACT NATIVE IS THE BEST SOLUTION WE HAVE SO FAR FOR NATIVE MOBILE DEVELOPMENT
sorry for the all caps... that's the actual title of the list :/
Upvotes: 1