Essays of HelloWorld

CMD specification, AMD specifications, common specifications, and npm

Spend a lot of time to figure out these concepts did not make much sense, points to the following figure:

  1. Realization of sea.js and require.js
  2. npm package management, module reference mechanism, the loading process node modules and related issues
  3. He did not, and to not talk ES6

webpack module did expand, es6 module system itself does not recognize node_modulefolder is enhanced webpack do so importcould be like node module is loaded automatically find the same module. Just use webpack when this question puzzled for a long time.

Although now it is not recommended module program obsolete, and everyone is in default with es6, but programming ideas to achieve module involved must thoroughly understand. Such as circulation node module of references, if only use do not know the principles remain forever at the level Zhaomaohuahu.

Js understanding of the operation of the DMO

After the browser loads the HTML and CSS, will generate the corresponding two (in the end there is no doubt CSS tree) tree abstract object in memory, I do not know the underlying implementation principle, but the browser is certainly maintains both instances. When used to operate dom js or operation pattern, the call interface is essentially two objects (two trees) provided. dom document is the tree for abstract objects exposed js, js dom operation by the document object. This is layered package and to understand the relationship between the angle of html, css and js.

Learn how to do not go

Read articles written by Zhang Xinxu school does not go , do not get mentioned in the text of immediate spiritual reward is one thing, but when I learned often can not find the answers they wanted, various tutorials, articles seems that in they say to themselves, but it seems that all copy to copy a few. Learning passion is on the one hand, met a good teacher (or text) is also important.

Guess you like

Origin www.cnblogs.com/quality/p/10956662.html