05 2018 档案

react 子组件访问父组件的方法
摘要:1. 回调函数(推荐) 地址:https://ourcodeworld.com/articles/read/409/how to update parent state from child component in react 1. 获得父组件的实例(不推荐) 地址:https://stackov 阅读全文

posted @ 2018-05-21 17:58 cag2050 阅读(327) 评论(0) 推荐(0) 编辑

vue 和 react 组件间通信方法对比
摘要:vue 和 react 组件间通信方法对比: 通信路径 | vue的方法 | react的方法 | | 父组件 = 子组件 | props(推荐)、slot(推荐)、this.$refs、this.$children | props、this.refs 子组件 = 父组件 | 自定义事件($emit 阅读全文

posted @ 2018-05-18 10:12 cag2050 阅读(433) 评论(0) 推荐(0) 编辑

mobx-state-tree 知识点
摘要:中文教程:https://github.com/chenxiaochun/mobx state tree 比较好的介绍文章:https://tech.youzan.com/mobx_vs_redux/ mobx 和 mobx state tree 的区别: MobX 类库本身实现的是 Observa 阅读全文

posted @ 2018-05-17 20:12 cag2050 阅读(2369) 评论(0) 推荐(1) 编辑

vue 下实现 echarts 全国到省份的地图下钻
摘要:vue 下实现 echarts 全国到省份的地图下钻 项目地址:https://github.com/cag2050/vue_echarts_v3_demo 阅读全文

posted @ 2018-05-17 19:47 cag2050 阅读(1283) 评论(0) 推荐(0) 编辑

TweenMax 动画库,知识点
摘要:官方地址:https://greensock.com/tweenmax github 地址:https://github.com/greensock/GreenSock JS 比较好的介绍文章: https://segmentfault.com/a/1190000005366176 http://s 阅读全文

posted @ 2018-05-14 17:28 cag2050 阅读(177) 评论(0) 推荐(0) 编辑

mobx 知识点
摘要:antd+mobx 项目例子:https://github.com/cag2050/antd_mobx_demo 在 create react app 创建的项目中,使用 mobx:https://swizec.com/blog/mobx with create react app/swizec/7 阅读全文

posted @ 2018-05-14 00:42 cag2050 阅读(217) 评论(0) 推荐(0) 编辑

highcharts 知识点
摘要:去掉版权: 阅读全文

posted @ 2018-05-07 18:26 cag2050 阅读(135) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示