React Native Points

Why bind()?

ES5 Vs ES6

mixins的使用

minxins

require()用法

require最常用的方法
require('http') 内置模块
require('./server')  “./”表示当前路径,后面跟的是相对路径
require("../lib/server") ../表示上一级目录,后面跟的也是相对路径

atom技巧

CMD+SHIFT+P  Toggle command palette
CMD+\        Toggle tree-view sidebar
CMD+SHIFT+F  Find in project
CMD+P        Toggle file finder
CMD+R        Go to symbol
ctrl-alt-b   安装atom-beautify后可使用,格式化代码

异步数据流

redux-thunk,redux-promise
A thunk is a function that wraps an expression to delay its evaluation.

Jenkins 环境配置

Node.js

npm install

rnpm

npm i -g rnpm

CODE PUSH

Install the CodePush CLI

npm install -g code-push-cli

Create a CodePush account

code-push register

Register your app with the service

code-push app add MyApp

CodePush-ify your app link

Release an app update

code-push release-react MyApp ios.

Run your app

查看key

code-push deployment ls <appName> -k
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容