上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 124 下一页
摘要: 栈,堆,方法区。main和局部变量在栈,new 对象 在堆, 类和常量在方法区除了8大基础数据类型,其他都为引用变量局部变量在函数内或方法上声明,没有默认值,定义必须赋值一旦提供构造方法,就不会有默认构造方法了导包快捷键 Ctrl+Shift+o快捷自动补全syso,main,按住Alt+/+Ent 阅读全文
posted @ 2019-05-28 22:06 ThisCall 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/m0_37527015/article/details/84338831(copy 注:如果用 PureComponent 尽量搭配 immutable使用 否认会有坑 不用PureComponent是,shouldComponentUpdate(){}手 阅读全文
posted @ 2019-05-28 14:10 ThisCall 阅读(117) 评论(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 阅读(130) 评论(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 阅读(407) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/711c596571d6(copy) 阅读全文
posted @ 2019-05-23 17:57 ThisCall 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 一般小程序都在这样的,只有单页面,没有小程序默认顶部导航的小程序,才不用抖动 阅读全文
posted @ 2019-05-23 13:50 ThisCall 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 我个人感觉redux-thunk结合asnyc await已经足够了,saga似乎还增加了项目的复杂度(网查) Async/Await是一个期待已久的JavaScript特性,让我们更好的理解使用异步函数。它建立在Promises上,并且与所有现有的基于Promise的API兼容。(网查) Asyn 阅读全文
posted @ 2019-05-22 17:22 ThisCall 阅读(151) 评论(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 阅读(126) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cxying93/p/6103375.html(copy) 我的理解是: 闭包就是能够读取其他函数内部变量的函数。 由于在javascript中,只有函数内部的子函数才能读取局部变量,所以说,闭包可以简单理解成“定义在一个函数内部的函数“。 所以,在本 阅读全文
posted @ 2019-05-21 16:05 ThisCall 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 函数中的this添加函数是加在对象上,而this.prototype是添加在原型上,通过prototype的指向来一级一级查找 prototype是构造函数访问原型对象,__proto__是对象实例访问原型对象 che.constructor指向构造函数 阅读全文
posted @ 2019-05-21 14:46 ThisCall 阅读(863) 评论(0) 推荐(0) 编辑
上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 124 下一页