RN原理、优势以及架构?
2018-03-26 本文已影响128人
952625a28d0d
移动开发的演变:
iOS Object-C Swift
Android Java Kotlin C C++
Hybird
WebView壳子 UILayer(HTML/CSS/JS)Rendering Engine API
混合开发优势:
- 开发成本低 HTML/CSS/JS
- 天然跨平台
- 无审核热更新
- 可扩展
劣势
- 性能消耗大
取长补短
React Native
Learn once, write anywhere
facebook JS->Bridge->UI
React-Native架构


-
实时刷新
image.png
-
发布
image.png