上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 102 下一页
摘要: Worldview in Context Figures 1 and 2 provide a basis for a deeper understanding of worldview. The sensing, thinking, knowing, acting self exists in th 阅读全文
posted @ 2019-07-06 21:42 zzfx 阅读(204) 评论(0) 推荐(0)
摘要: 1、知人者智,自知者明; 2、江山易改,本性难移; 3、谁是我们的朋友,谁是我们的敌人,这是革命的首要问题; 4、坚守自己的利益; 5、 阅读全文
posted @ 2019-07-06 15:58 zzfx 阅读(218) 评论(0) 推荐(0)
摘要: How Does React Native Work? The idea of writing mobile applications in JavaScript feels a little odd. How is it possible to use React in a mobile envi 阅读全文
posted @ 2019-07-05 19:04 zzfx 阅读(306) 评论(0) 推荐(0)
摘要: 面向virtual DOM编程 vs 面向native componet编程; 状态编程引起的UI变化会全部提交到native compnent然后走平台原来的渲染流程。 The DOM is just one of the rendering environments React can rend 阅读全文
posted @ 2019-07-05 18:44 zzfx 阅读(713) 评论(0) 推荐(0)
摘要: 一个node的状态发生变化; 会对当前结点和子节点的数据全部进行更新; 然后进行dom比较; 比较完毕后一次性提交; 相对于以前的渲染方式: 每一个node的数据发生变化,都会产生一次渲染提交; 以上内容为猜测。 阅读全文
posted @ 2019-07-05 18:15 zzfx 阅读(184) 评论(0) 推荐(0)
摘要: Babel is a JavaScript compiler Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaSc 阅读全文
posted @ 2019-07-05 17:57 zzfx 阅读(306) 评论(0) 推荐(0)
摘要: source code: 开源库 rn源代码 native源代码 sourcecode tool: npm react-native vscode xocde、vscode ide+tools+package: vscode + 插件 + package.dependecdev core: proj 阅读全文
posted @ 2019-07-05 16:36 zzfx 阅读(551) 评论(0) 推荐(0)
摘要: 下面是一个更完整的package.json文件。 { "name": "Hello World", "version": "0.0.1", "scripts": { "start": "node index.js" }, "dependencies": { "express": "latest", 阅读全文
posted @ 2019-07-05 11:42 zzfx 阅读(3606) 评论(0) 推荐(0)
摘要: npm install在安装node模块时,有两种命令参数可以把它们的信息写入package.json文件。 –save –save-dev 那二者的区别在哪里呢? –save会把依赖包名称添加到package.json文件dependencies键下,–save-dev则添加到package.js 阅读全文
posted @ 2019-07-05 11:01 zzfx 阅读(2149) 评论(0) 推荐(0)
摘要: .babelrc { "presets": [ "react-native" ], "sourceMaps": true } Many JavaScript developers are used to simply log stuff into the console when debugging 阅读全文
posted @ 2019-07-04 16:28 zzfx 阅读(1008) 评论(0) 推荐(0)
摘要: What is react-native link? or Should you just use react-native link when linking any dependency or should you be more explicit and use react-native li 阅读全文
posted @ 2019-07-04 16:13 zzfx 阅读(911) 评论(0) 推荐(0)
摘要: npm查看全局安装过的包 https://blog.csdn.net/a454213722/article/details/51981503 在使用node的时候,用npm安装了很多软件,过一段时间没有使用就会忘记,怎么查看自己全局安装过的包,用命令 npm list -g --depth 0 在百 阅读全文
posted @ 2019-07-04 16:10 zzfx 阅读(582) 评论(0) 推荐(0)
摘要: npm install 命令。默认会找到当前路径下的package.json。然后安装其中的依赖 By default, npm install will install all modules listed as dependencies in package.json. 可以看看这个 insta 阅读全文
posted @ 2019-07-03 18:11 zzfx 阅读(3376) 评论(0) 推荐(0)
摘要: 一、函数的结合方式 组合、pipeline 二、block的环境变量 三、函数变量修饰符 异步、@escape 四、适用范围 数据与事件的流式处理 阅读全文
posted @ 2019-07-01 15:44 zzfx 阅读(150) 评论(0) 推荐(0)
摘要: promise是有状态的moand 阅读全文
posted @ 2019-07-01 11:53 zzfx 阅读(151) 评论(0) 推荐(0)
摘要: 一、promise的组成 1、task:promise要完成的任务; 2、result:处理完的数据; 3、status:状态; 4、fulfill、reject(对应catch) 5、ResolveCallback ErrorCallback promise状态的解释函数 6、resolve: 对 阅读全文
posted @ 2019-07-01 11:51 zzfx 阅读(443) 评论(0) 推荐(0)
摘要: RxSwift 是一个组合异步和事件驱动编程的库,通过使用可观察序列和功能样式运算符来,从而允许通过调度程序进行参数化执行。 RxSwift 在本质上简化了开发异步程序,允许代码对新数据作出反应,并以顺序和孤立的方式处理它。 https://www.codercto.com/a/18360.html 阅读全文
posted @ 2019-06-28 11:42 zzfx 阅读(289) 评论(0) 推荐(0)
摘要: In mathematics, a function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exac 阅读全文
posted @ 2019-06-27 16:26 zzfx 阅读(511) 评论(0) 推荐(0)
摘要: 核心是数据变化跟踪与UI更新的问题 概念整理: 供业务使用的叫数据; 供UI使用的叫状态; UI的变化能被监听到; 数据的变化能实时反映到UI上; 数据变化—》拦截—〉UI状态重置—》UI更新; UI状态变化—〉数据化状态—》拦截 将UI的状态变量提升为monand变量 设置和订阅; 阅读全文
posted @ 2019-06-27 15:14 zzfx 阅读(361) 评论(0) 推荐(0)
摘要: 概览 组件 使用 React 组件可以将 UI 拆分为独立且复用的代码片段,每部分都可独立维护。你可以通过子类 React.Component 或 React.PureComponent 来定义 React 组件。 React.Component React.PureComponent 如果你不使用 阅读全文
posted @ 2019-06-27 14:37 zzfx 阅读(277) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 102 下一页