会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
TLightSky
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
15
下一页
2015年12月1日
React在Render中使用bind可能导致的问题
摘要: 因为bind在render的时候会重现生成,这样会导致props每次都不同,puremixin的插件也会失效。所以需要将bind的结果缓存下来,或者直接在constructor里做这个事情 constructor() { super(); this.handleBack = this....
阅读全文
posted @ 2015-12-01 11:40 wangchao719
阅读(683)
评论(0)
推荐(0)
2015年11月22日
为了cider,尝试emacs的坑
摘要: https://github.com/clojure-emacs/ciderhttp://clojure-doc.org/articles/tutorials/emacs.htmlemacs通过brew先装起来先熟悉下emacs结束emcas:C-x C-c结束一半的命令:C-g
阅读全文
posted @ 2015-11-22 21:18 wangchao719
阅读(347)
评论(0)
推荐(0)
2015年11月13日
iconfont的图文混排
摘要: 最近在使用iconfont排版,但是发现完全没法混到textarea中。希望借助 contentEditable解决这个问题
阅读全文
posted @ 2015-11-13 17:04 wangchao719
阅读(219)
评论(0)
推荐(0)
2015年11月6日
docker pure-ftp 搭建ftp服务器
摘要: 参考:https://hub.docker.com/r/stilliard/pure-ftpd/docker-compose.yml:ftp: image: stilliard/pure-ftpd volumes: - "../wp/app:/home/ftpusers/code" ...
阅读全文
posted @ 2015-11-06 11:39 wangchao719
阅读(4515)
评论(0)
推荐(0)
2015年11月4日
ReactMotion Demo8 分析
摘要: 链接首先通过spring函数Motion的style参数,传入Motion Component,计算style的过程: const style = lastPressed === i && isPressed ? { scale:...
阅读全文
posted @ 2015-11-04 17:17 wangchao719
阅读(343)
评论(0)
推荐(0)
2015年10月23日
React中Transition的作用
摘要: /** * `Transaction` creates a black box that is able to wrap any method such that * certain invariants are maintained before and after the method is i...
阅读全文
posted @ 2015-10-23 18:20 wangchao719
阅读(542)
评论(0)
推荐(0)
2015年10月8日
react native camera
摘要: 最近在尝试用react native cameraiOS版本很方便就调试通过了,react的试用非常方便android版本要单独试用fork的屏蔽了lint的报错后也可以调试通过参考这篇文章填写好server的地址就可用真机调试了其他参考:http://liaohuqiu.net/cn/posts/...
阅读全文
posted @ 2015-10-08 20:01 wangchao719
阅读(496)
评论(0)
推荐(0)
2015年9月24日
react源码分析
摘要: ReactMount.render -> ReactMount._renderSubtreeIntoContainer->ReactMount._renderNewRootComponent -> ReactMount.batchedMountComponentIntoNode->ReactReco...
阅读全文
posted @ 2015-09-24 15:43 wangchao719
阅读(325)
评论(0)
推荐(0)
2015年9月22日
ReactNative Android 研究
摘要: 先从ReactRootView入手吧,它是一个FrameLayoutmReactRootView.startReactApplication 这的start其实是会等到inital onMeasure之后执行setContentView(mReactRootView); 这里将ReactRootVi...
阅读全文
posted @ 2015-09-22 16:04 wangchao719
阅读(507)
评论(0)
推荐(0)
2015年9月11日
React 编码
摘要: https://github.com/Minwe/style-guide/blob/master/React.js.mdhttps://github.com/planningcenter/react-patternshttps://github.com/airbnb/javascript
阅读全文
posted @ 2015-09-11 11:55 wangchao719
阅读(269)
评论(0)
推荐(0)
1
2
3
4
5
···
15
下一页
公告