会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
new:http://www.jianshu.com/users/1967b163cb61/latest_articles
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
27
下一页
2016年1月11日
React Native ——实现一个简单的抓取github上的项目数据列表
摘要: /** * Sample React Native App * https://github.com/facebook/react-native */'use strict';var React = require('react-native');var { AppRegistry, Style...
阅读全文
posted @ 2016-01-11 22:15 daomul
阅读(2520)
评论(0)
推荐(0)
2016年1月10日
React Native 重新建项目遇到的一些问题
摘要: 1、基本上一句话,就是本地的node太旧了,跟不上React_Native的节奏,所以需要更新node,但是单纯的更新node丫丫竟然不让我跟,因为是用Homebrew来管理的,所以先update了下brewbrew update && brew upgrade && brew cleanupbre...
阅读全文
posted @ 2016-01-10 15:01 daomul
阅读(1021)
评论(0)
推荐(0)
2016年1月8日
CSS3 页面跳转的动画效果
摘要: 从左侧弹出:var windowWidth = window.innerWidth;$(atlas_list).css({ "transition":"none","-webkit-transition":"none","transform": "translate3d(" + (windowWid...
阅读全文
posted @ 2016-01-08 12:13 daomul
阅读(4398)
评论(0)
推荐(0)
2016年1月4日
JS/React 判断对象是否为空对象
摘要: JS一般判断对象是否为空,我们可以采用: if(!x)的方式直接判断,但是如果是一个空对象,比如空的JSON对象,是这样的:{},简单的判断是不成功的,因为它已经占用着内存了,如果是JQuery的话,直接使用isEmptyObject()来判断,如果是JS,可以采取下面的方法1:/* * 检测对象...
阅读全文
posted @ 2016-01-04 19:33 daomul
阅读(14876)
评论(0)
推荐(0)
2016年1月3日
React 根据官方总结的规范
摘要: 1、语法上,根据生命周期方法执行的顺序编写代码(1 生命周期方法[getDefaultProps,getInitialState,componentWillMount,componentDidMount,componentWillReceiveProps,shouldComponentUpdate,...
阅读全文
posted @ 2016-01-03 17:23 daomul
阅读(697)
评论(0)
推荐(0)
1
2
3
4
5
···
27
下一页
公告