
ReactJS
yuxuac
这个作者很懒,什么都没留下…
展开
-
.Net ReactJS 资源
Baidu CDN:http://developer.baidu.com/wiki/index.php?title=docs/cplat/libsReactJS:http://facebook.github.io/react/原创 2016-06-07 13:28:17 · 653 阅读 · 0 评论 -
ReactJS - Components之间的传值问题
1. 子控件向父控件传值:a. 在父控件定义接收函数 handleItem(item);b. 在子控件定义props: customHandleItem;c. 父控件Render()中,将子空间的属性:customHandleItem设置为父控件的接收函数: handleItem;d. 在子控件需要将值传递出来的位置调用:this.props.customHandleItem(it原创 2016-09-10 22:09:18 · 1798 阅读 · 0 评论