摘要: 声明周期 componentWillMount() 组件准备加载 componentDidMount() //组件第一次渲染完毕 componentWillReceiveProps(nextProps) //组件接受到新的props render() //渲染组件1:配置环境安装官网搭建 2:创建项目 react-native init AwesomeProject 3:启动项目开... 阅读全文