Because Promise.all can't be realized, an interview is cool

preface(ಥ﹏ಥ) the interviewer asked him to write a Promise.all about a real event that really happened to a friend. The friend didn't play well on the spot and didn't write it out. Afterwards, he asked the interviewer for a vague evaluation that the foundation was not solid enough and he didn't master the principle knowledge... Of course, this ...

Posted by wesmont on Wed, 08 Dec 2021 09:26:17 +0100

Webpack packaging Javascript details

In this article, we mainly introduce webpack packaging Javascript. Of course, in addition to Javascript, webpack can also package html. But this is not the focus of this article. We can refer to Webpack HTML packaging introduction Now let's extend a project -- Web pack - Example (Click Webpack installation View the initialization of the projec ...

Posted by paragkalra on Wed, 08 Dec 2021 07:02:54 +0100

Biography of little tadpole: front-end practical skills, accurate operation of js files through babel

Today is the 90th day of secretly falling in love with her, but I will be lovelorn soon Because of the change of organizational structure, I want to change to a place far away from herI've been in 997 for 90 daysKilling each other with the same kind every dayI'm tired of working overtime with a group of old menShe is the only light in this dark ...

Posted by Reaper0167 on Wed, 08 Dec 2021 06:02:15 +0100

Vue event binding and event binding modifier

preface Over the past few years, I have been struggling in the it industry. Along the way, many have summarized some high-frequency interviews in the python industry. I see most of the new blood in the industry, and I still have all kinds of difficult questions for the answers to all kinds of interview questions or collection Therefore, I dev ...

Posted by kumarrana on Wed, 08 Dec 2021 05:16:29 +0100

17_javaScript data structure and sorting algorithm

JavaScript implementation of sorting algorithm 1, Large O representation Large O notation: In the computer, a rough measure is used to describe the efficiency of computer algorithms. This method is called * * "Big O" representation**When the number of data items changes, the efficiency of the algorithm will also change. Therefore, ...

Posted by nickthegreek on Wed, 08 Dec 2021 04:09:05 +0100

Simple use of wangEditor rich text editor

introduce Wang editor is a lightweight web rich text editor, which is easy to configure and easy to use. Official website: www.wangEditor.com Document: www.wangedit.com/doc Source code: github.com/wangeditor-team/wangEditor For Vue and React Using wangEditor in Vue For vue3, refer to wangEditor-with-vue3 vue2 refer to wangedior with Vue. Usi ...

Posted by Garth Farley on Wed, 08 Dec 2021 04:07:20 +0100

Optimization of network process

Reduce network requests Browser cache Local storage localStorage localStorage is a new local storage API in html5. The storage capacity supported in general browsers is 5M. It is only saved in the browser and does not participate in communication with the server.The data stored in localStorage has no expiration time and can only be cle ...

Posted by web_noob on Wed, 08 Dec 2021 03:37:09 +0100

In depth implementation of node4 writable stream

Use of writable streams The highWaterMark of the writable stream indicates how many values the file is expected to accept. end not only writes, but also triggers the close event. A true and a false is because our highWaterMark is set to 3. We want to use only 3 memory to write, but the returned value has nothing to do with whether we wr ...

Posted by razvypp on Wed, 08 Dec 2021 03:13:37 +0100

Vue project cross domain solution and vue.config.js configuration resolution

Why cross domain? Due to the homology policy restrictions of the browser. The same origin policy is a kind of convention. It is the core and basic security function of the browser. If the same origin policy is missing, the normal functions of the browser may be affected. It can be said that the Web is built on the basis of homologous strategy, ...

Posted by networkthis on Wed, 08 Dec 2021 03:10:48 +0100

Learn how JSX works

In the past six months, VUE has been basically used to develop projects, and we have some experience. In the future, we will launch a complete VUE based management system at the front and rear ends. Start learning React today, starting with the JSX that defines the React component. What is JSX? What does it have to do with JavaScript? This ar ...

Posted by pucker22 on Wed, 08 Dec 2021 01:39:23 +0100