[React Native] 好东西 持续收集

739 查看

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