[React Native] 好東西 持續收集

npm i -g visual-studio-code-cli
提供一個命令行命令用來使用 visual studio code 打開指定的目錄,示例:"code .” 使用 visual studio code 打開當前目錄

https://github.com/fbsamples/f8app/
Facebook 的 F8 App 源碼,學習 React Native 實踐的好模板

https://babeljs.io/repl/
Babel 的在線轉碼器

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
一個基于 React Native 的 Material Design 風格的組件庫。(為了平臺統一體驗,目前只打算支持安卓)

http://bbs.reactnative.cn/topic/91/react-native-qq/2
QQ 登錄、分享組件

https://apphub.io/
應該是個放 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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容