上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 129 下一页
摘要: 主框架结构 home/index.js //模块主文件 创建Topic模块 阶段一 基础代码 sotre编写 编写store/index.js文件 编写store/reducer.js import { fromJS } from 'immutable'; const defaultState = 阅读全文
posted @ 2019-05-29 10:33 ThisCall 阅读(264) 评论(0) 推荐(0)
摘要: 1,对象数组,必须指定了数组长度,长度是固定的 2,除了ArrayList<E>以外,类赋值给变量,只有string类拿到的是值,其他类拿到的都是类的地址值, ArrayList<E>的长度不能用arr.length()或arr.length,要用arr.size() 获取不能用index(),要用 阅读全文
posted @ 2019-05-28 22:49 ThisCall 阅读(160) 评论(0) 推荐(0)
摘要: 栈,堆,方法区。main和局部变量在栈,new 对象 在堆, 类和常量在方法区除了8大基础数据类型,其他都为引用变量局部变量在函数内或方法上声明,没有默认值,定义必须赋值一旦提供构造方法,就不会有默认构造方法了导包快捷键 Ctrl+Shift+o快捷自动补全syso,main,按住Alt+/+Ent 阅读全文
posted @ 2019-05-28 22:06 ThisCall 阅读(158) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_37527015/article/details/84338831(copy 注:如果用 PureComponent 尽量搭配 immutable使用 否认会有坑 不用PureComponent是,shouldComponentUpdate(){}手 阅读全文
posted @ 2019-05-28 14:10 ThisCall 阅读(134) 评论(0) 推荐(0)
摘要: https://www.iconfont.cn 地址 https://www.cnblogs.com/bldxh/p/6360064.html(copy 下载后有用的文件 iconfont.eot iconfont.svg iconfont.ttf iconfont.woff iconfont.cs 阅读全文
posted @ 2019-05-27 15:05 ThisCall 阅读(199) 评论(0) 推荐(0)
摘要: npm install --save style-components https://www.jianshu.com/p/27788be90605(copy) "axios": "^0.18.0", "immutable": "^3.8.2", //不可修改变量插件 "react": "^16.4 阅读全文
posted @ 2019-05-27 10:27 ThisCall 阅读(440) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/711c596571d6(copy) 阅读全文
posted @ 2019-05-23 17:57 ThisCall 阅读(122) 评论(0) 推荐(0)
摘要: 一般小程序都在这样的,只有单页面,没有小程序默认顶部导航的小程序,才不用抖动 阅读全文
posted @ 2019-05-23 13:50 ThisCall 阅读(162) 评论(0) 推荐(0)
摘要: 我个人感觉redux-thunk结合asnyc await已经足够了,saga似乎还增加了项目的复杂度(网查) Async/Await是一个期待已久的JavaScript特性,让我们更好的理解使用异步函数。它建立在Promises上,并且与所有现有的基于Promise的API兼容。(网查) Asyn 阅读全文
posted @ 2019-05-22 17:22 ThisCall 阅读(168) 评论(0) 推荐(0)
摘要: // SubClass.prototype.getName = function () { console.log(this.name,'重写') }; 与java逻辑相同 就是继承父类,然后子类可以扩展父类 https://www.cnblogs.com/aaronchu/p/6168378.ht 阅读全文
posted @ 2019-05-22 10:39 ThisCall 阅读(152) 评论(0) 推荐(0)
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 129 下一页