npm i -g visual-studio-code-cli
提供一個(gè)命令行命令用來使用 visual studio code 打開指定的目錄狂票,示例:"code .” 使用 visual studio code 打開當(dāng)前目錄
https://github.com/fbsamples/f8app/
Facebook 的 F8 App 源碼候齿,學(xué)習(xí) React Native 實(shí)踐的好模板
https://babeljs.io/repl/
Babel 的在線轉(zhuǎn)碼器
http://www.overreact.io/
The React File Generator - Wireframe React components and download starter files with one click
http://bbs.reactnative.cn/topic/41/mrn-%E4%B8%80%E4%B8%AA%E5%9F%BA%E4%BA%8Ereact-native%E7%9A%84material-design%E9%A3%8E%E6%A0%BC%E7%9A%84%E7%BB%84%E4%BB%B6%E5%BA%93
一個(gè)基于 React Native 的 Material Design 風(fēng)格的組件庫(kù)。(為了平臺(tái)統(tǒng)一體驗(yàn),目前只打算支持安卓)
http://bbs.reactnative.cn/topic/91/react-native-qq/2
QQ 登錄慌盯、分享組件
https://apphub.io/
應(yīng)該是個(gè)放 React Native 腳本包的集中托管工具周霉,沒空自己做可以考慮用它,更加具體的說明可以看這里 http://www.infoq.com/cn/news/2015/08/apphub?isappinstalled=0
一圖勝千文:
https://itunes.apple.com/us/app/react-native-playground/id1002032944
React Native Playground iOS app
/**
- ------------------ The Life-Cycle of a Composite Component ------------------
- constructor: Initialization of state. The instance is now retained.
- componentWillMount
- render
- [children's constructors]
- [children's componentWillMount and render]
- [children's componentDidMount]
- componentDidMount
Update Phases:
- componentWillReceiveProps (only called if parent updated)
- shouldComponentUpdate
- componentWillUpdate
- render
- [children's constructors or receive props phases]
- componentDidUpdate
- componentWillUnmount
- [children's componentWillUnmount]
- [children destroyed]
- (destroyed): The instance is now blank, released by React and ready for GC.
*/
@ReactCompositeComponent.js