随笔分类 -  reactNative

摘要:Discover how React Native functions internally, and what it does for you without you knowing it. Disclaimer: this articles assumes a (very) basic unde 阅读全文
posted @ 2019-10-30 19:09 zzfx 阅读(237) 评论(0) 推荐(0) 编辑
摘要:解释机制+通信机制; 跨语言机制 跨平台机制 jspatch reactnative; 阅读全文
posted @ 2019-10-17 15:09 zzfx 阅读(140) 评论(0) 推荐(0) 编辑
摘要:react 学习资料 https://github.com/crazycodeboy/GitHubPopular crazycodeboy/GitHubPopular https://github.com/reactnativecn/react-native-guide reactnativecn/ 阅读全文
posted @ 2019-07-18 15:41 zzfx 阅读(212) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/CrazyWL/p/7283600.html 阅读全文
posted @ 2019-07-09 15:54 zzfx 阅读(160) 评论(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 阅读(319) 评论(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 阅读(290) 评论(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 阅读(700) 评论(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 阅读(297) 评论(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 阅读(540) 评论(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 阅读(3581) 评论(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 阅读(2131) 评论(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 阅读(985) 评论(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 阅读(901) 评论(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 阅读(575) 评论(0) 推荐(0) 编辑