module and chunk and bundle
跨域访问到底是怎么一回事,为什么会有跨域?想要了解这个问题,需要我们回溯Web发展史,回溯Ajax发展史
性能优化
什么是原型
Javascript Q&A
react16出现的fiber架构,在这之前如果VSDom太过庞大,react就会一直霸占浏览器资源,导致用户触发的事件得不到快速响应,掉帧,表现卡顿。 解决这个问题,期望的方式是将同步更新这个过程拆分为两个独立的部分,或者通过某种方式让整个过程可中断、可恢复 于是有了fiber优化架构和concurrent并发模式
React思想
Classic Q&A
背景
A location can either be defined by a prefix string, or by a regular expression. Regular expressions are specified with the preceding “~*” modifier (for case-insensitive matching), or the “~” modifier (for case-sensitive matching). To find location matching a given request, nginx first checks locations defined using the prefix strings (prefix locations). Among them, the location with the longest matching prefix is selected and remembered. Then regular expressions are checked, in the order of their appearance in the configuration file. The search of regular expressions terminates on the first match, and the corresponding configuration is used. If no match with a regular expression is found then the configuration of the prefix location remembered earlier is used.
垃圾回收机制
SSO
手写算法
冻结滚动
基本原则
basic charts
我们通过圆周长计算公式推导弧度radian与PI的关系
directives
location匹配规则参考
less是对文件或其他输出进行分页显示的工具,linux正统查看文件内容的工具,功能强大。
在ES7 async和await之前,宏任务和微任务的理解相对简单,这里主要讲一下引入了async和await以后的eventloop原理
window.localStorage
ES5和ES6继承对比
extends关键字