[英]How to use viroReact in React native?
Native code(Java, Obj-C, Kotlin, Swift) gives you the best performance, you can write unoptimised code and it's still fast. 本机代码(Java,Obj-C,Kotlin,Swift)为您提供最佳性能,您可以编写未经优化的代码,而且速度仍然很快。 Hybrid apps (eg. Ionic) performance are really far behind native apps before optimisation.
在优化之前,混合应用程序(例如Ionic)的性能确实远远落后于本机应用程序。 React Native apps performance fall between both.
React Native应用程序的性能介于两者之间。
Native > React Native > Hybrid 本机> React Native>混合
Code sharing between OS: Due to hybrid apps use webview as a medium, it can achieve maximum code sharing between different mobile OS, the underlying library ensure the consistency. 操作系统之间的代码共享:由于混合应用程序使用Webview作为媒介,因此可以在不同的移动操作系统之间实现最大的代码共享,底层库确保了一致性。
React Native apps can achieve 100% as well but you will need minor tweaking (inconsistence) to make it even more native to each platform. React Native应用程序也可以达到100%,但是您需要进行一些微调(不一致)以使其对每个平台都更加原生。
Currently you can use Swift to develop Android as well, 目前,您也可以使用Swift开发Android,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.