面向virtual DOM编程 vs 面向native componet编程;

状态编程引起的UI变化会全部提交到native compnent然后走平台原来的渲染流程。

The DOM is just one of the rendering environments React can render to,

the other major targets being native iOS and Android views via React Native. (This is why "virtual DOM" is a bit of a misnomer.)

ReactJS outputs the DOM that can be rendered the browsers. As you already know, the virtual DOM helps ReactJS efficiently keeps track of the delta of what has changed. For React Native for iOS, ultimately it outputs UIKit code. Same thing with React Native for Android, but instead of outputting DOM or UI Kit, the output is created using Android SDKs. So virtual DOM is just an intermediate step.

https://stackoverflow.com/questions/41804855/does-react-native-have-a-virtual-dom

最新文章

  1. Java进击C#——应用开发之WinForm环境
  2. Web API Get Started First
  3. c语言warning总结
  4. VB6的函数指针传递
  5. sqlcmd 登录和执行语句。
  6. lightoj1080 线段树
  7. Maven工程的Web调试
  8. Jquery 替换全部花括号
  9. HDU 3315 My Brute(费用流)
  10. android之intent显式,显式学习
  11. CentOS下mysql数据库data目录迁移和配置优化
  12. JavaScript的sleep实现--Javascript异步编程学习
  13. 完整版本的推箱子小游戏,最简单的纯C语言打造
  14. centos7镜像文件
  15. intelij idea设置和使用git
  16. bzoj千题计划304:bzoj3676: [Apio2014]回文串(回文自动机)
  17. luogu P1593 因子和
  18. Hadoop3集群搭建之——hive安装
  19. 20155338《网络对抗》Exp8 Web基础
  20. Oracle 错误总结及问题解决 ORA

热门文章

  1. 在spring管理的类的要注意问题
  2. sublime text 开发记录贴
  3. 宝塔webhook配合码云,本地git push 服务器自动pull
  4. python实现根据前序与中序求后序
  5. 【Linux】CentOS7 打开关闭防火墙及端口
  6. 备忘】HttpContextAccessor类
  7. 服务器收不到支付宝notify_url异步回调请求的问题 支付宝notify 异步通知与https的问题
  8. maven项目整合SSM配置log4j, 实现控制台打印SQL语句
  9. [Linux] Ubuntu Server18 python3.7 虚拟环境
  10. 2017-07-26 ThinkPHP简单使用