上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 103 下一页
摘要: export default 和 export 的主要区别 在于对应的import的区别:export 对应的 import 需要知道 export抛出的变量名或函数名 import{a,b}export default对应的 import 不需要知道 export抛出的变量名或函数名 import 阅读全文
posted @ 2019-07-09 11:37 zzfx 阅读(285) 评论(0) 推荐(0)
摘要: Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallo 阅读全文
posted @ 2019-07-08 14:41 zzfx 阅读(325) 评论(0) 推荐(0)
摘要: 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 阅读(198) 评论(0) 推荐(0)
摘要: 1、知人者智,自知者明; 2、江山易改,本性难移; 3、谁是我们的朋友,谁是我们的敌人,这是革命的首要问题; 4、坚守自己的利益; 5、 阅读全文
posted @ 2019-07-06 15:58 zzfx 阅读(216) 评论(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 阅读(302) 评论(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 阅读(710) 评论(0) 推荐(0)
摘要: 一个node的状态发生变化; 会对当前结点和子节点的数据全部进行更新; 然后进行dom比较; 比较完毕后一次性提交; 相对于以前的渲染方式: 每一个node的数据发生变化,都会产生一次渲染提交; 以上内容为猜测。 阅读全文
posted @ 2019-07-05 18:15 zzfx 阅读(182) 评论(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 阅读(305) 评论(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 阅读(548) 评论(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 阅读(3600) 评论(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 阅读(2144) 评论(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 阅读(1005) 评论(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 阅读(909) 评论(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 阅读(580) 评论(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 阅读(3372) 评论(0) 推荐(0)
摘要: 一、函数的结合方式 组合、pipeline 二、block的环境变量 三、函数变量修饰符 异步、@escape 四、适用范围 数据与事件的流式处理 阅读全文
posted @ 2019-07-01 15:44 zzfx 阅读(148) 评论(0) 推荐(0)
摘要: promise是有状态的moand 阅读全文
posted @ 2019-07-01 11:53 zzfx 阅读(150) 评论(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 阅读(441) 评论(0) 推荐(0)
摘要: RxSwift 是一个组合异步和事件驱动编程的库,通过使用可观察序列和功能样式运算符来,从而允许通过调度程序进行参数化执行。 RxSwift 在本质上简化了开发异步程序,允许代码对新数据作出反应,并以顺序和孤立的方式处理它。 https://www.codercto.com/a/18360.html 阅读全文
posted @ 2019-06-28 11:42 zzfx 阅读(285) 评论(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 阅读(509) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 103 下一页