码迷,mamicode.com
首页 >  
搜索关键字:react    ( 7438个结果)
React native开发中常见的错误
react native环境搭建请移步:react native环境搭建 这里说说react native创建完成之后,运行中出现的常见问题, 问题1: java.lang.RuntimeException: SDK location not found. Define location with sdk.dir in the local.properties file or with ...
分类:其他好文   时间:2016-08-16 18:46:59    阅读次数:452
React Native基础概念和基础认识
然后是定义一个组件 作为接口 然后被引用: 好了 一个初始化的界面的代码基本上都如上 那么接下来可以进行开发了 但是在开发之前~我们得有如下的基本基础: Node.js基础(es6) JSX语法基础 Flexbox布局 三、目前需要关注的文件 1、目前阶段有几个文件时需要注意下的: (1)在xcod ...
分类:其他好文   时间:2016-08-16 17:30:59    阅读次数:149
关于react native的快捷键和常用规范
一:快捷键 1.让其自更新 shift+cmd+z 选择热更新 2.cmd+r 重新刷新 3 二:常用规范: 1.文件也是一种组件 所以应该命名规则和组件名的命名规则相同 使用首字母大写 驼峰样NextPage 三:技巧 : 1.导致listview 出现滚动条解决办法 设置listview的aut ...
分类:其他好文   时间:2016-08-16 10:41:37    阅读次数:179
RN的第一个API-----注册组件Appregistry
首先解释下AppRegistry是JS运行所有React Native应用的入口 什么是入口? 1.在我们初始化一个react native项目的时候 默认的index.ios.js/index.ios.js里面的内容是这这样的 (这里我们简化一下代码) 这段代码中系统自动创建了一个组件叫做Alle ...
分类:移动开发   时间:2016-08-16 10:38:56    阅读次数:631
React native 的DatePickerIOS组件
1.首先如代码所示 引入DatePickerIOS组件 设置他的时间是当前时间 其中mode属性代表的是他的展示模式总共有'date', 'time', 'datetime;这三种模式 但是这种状态选择后由会回到当前时间 所以应该设置是state属性 如下 这样设置则可以解决改变时间后不会出现又自动 ...
分类:移动开发   时间:2016-08-16 10:32:04    阅读次数:1361
React native 的弹出层(输入)效果
...
分类:其他好文   时间:2016-08-16 10:24:32    阅读次数:437
[React Fundamentals] Component Lifecycle - Mounting Usage
The previous lesson introduced the React component lifecycle mounting and unmounting. In this lesson you will learn some simple uses for these hooks. ...
分类:其他好文   时间:2016-08-16 07:03:12    阅读次数:150
[React Fundamentals] Component Lifecycle - Updating
The React component lifecycle will allow you to update your components at runtime. This lesson will explore how to do that. The React component lifecy ...
分类:其他好文   时间:2016-08-16 07:02:23    阅读次数:135
[React Fundamentals] Component Lifecycle - Mounting Basics
React components have a lifecycle, and you are able to access specific phases of that lifecycle. This lesson will introduce mounting and unmounting of ...
分类:其他好文   时间:2016-08-16 01:58:44    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!