Why bind()?
mixins的使用
require()用法
require最常用的方法
require('http') 內(nèi)置模塊
require('./server') “./”表示當(dāng)前路徑芹扭,后面跟的是相對路徑
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后可使用县匠,格式化代碼
異步數(shù)據(jù)流
redux-thunk,redux-promise
A thunk is a function that wraps an expression to delay its evaluation.
Jenkins 環(huán)境配置
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