上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 1.背景background background简写时的顺序是这样的:background:background-color background-image background-repeat background-attachment background-position 其中: backg 阅读全文
posted @ 2017-02-24 18:01 fireporsche 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 地址:http://www.cnblogs.com/languoliang/archive/2013/04/01/nginx.html 阅读全文
posted @ 2017-02-23 23:35 fireporsche 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 地址:http://www.cnblogs.com/zhuyp1015/p/3561470.html 阅读全文
posted @ 2017-02-23 23:34 fireporsche 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 直观一点的说法:Request Payload 就是POST、PUT等http请求所发送的数据。它是header之后的部分。 详细了解:http://www.tuicool.com/articles/IrY7nyZ 阅读全文
posted @ 2017-02-22 10:08 fireporsche 阅读(307) 评论(0) 推荐(0) 编辑
摘要: import { Map} from 'immutable'; let a = Map({ select: 'users', filter: Map({ name: 'Cam' }) }) let b = a.set('select', 'people'); a b; // false a.get( 阅读全文
posted @ 2017-02-21 14:39 fireporsche 阅读(278) 评论(0) 推荐(0) 编辑
摘要: :什么是浅拷贝(shallow copy)和深拷贝(deep copy)? A: 浅拷贝就是成员数据之间的一一赋值:把值一一赋给要拷贝的值。但是可能会有这样的情况:对象还包含资源,这里的资源可以值堆资源,或者一个文件。。当值拷贝的时候,两个对象就有用共同的资源,同时对资源可以访问,这样就会出问题。深 阅读全文
posted @ 2017-02-21 11:07 fireporsche 阅读(226) 评论(0) 推荐(0) 编辑
摘要: React 做性能优化时有一个避免重复渲染的大招,就是使用 shouldComponentUpdate(),但它默认返回 true,即始终会执行 render() 方法,然后做 Virtual DOM 比较,并得出是否需要做真实 DOM 更新,这里往往会带来很多无必要的渲染并成为性能瓶颈。 当然我们 阅读全文
posted @ 2017-02-21 10:47 fireporsche 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 地址:http://www.360doc.com/content/16/1108/10/17722897_604827400.shtml 阅读全文
posted @ 2017-02-19 19:51 fireporsche 阅读(185) 评论(1) 推荐(1) 编辑
摘要: 学习地址:http://foio.github.io/react-redux-performance-boost/ 阅读全文
posted @ 2017-02-19 16:39 fireporsche 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 1、 传统上,JavaScript只有indexOf方法,可以用来确定一个字符串是否包含在另一个字符串中。ES6又提供了三种新方法。 includes():返回布尔值,表示是否找到了参数字符串。 startsWith():返回布尔值,表示参数字符串是否在源字符串的头部。 endsWith():返回布 阅读全文
posted @ 2017-02-19 16:38 fireporsche 阅读(190) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页