JS basic task management

task management A major feature of JavaScript language is single thread, that is, it can only process one task at a time. In order to coordinate the behaviors of events, user interaction, scripts, UI rendering and network processing, and prevent the non blocking of the main thread, the scheme of (Event Loop) Event Loop is applied. JavaScr ...

Added by Rik Peters on Thu, 10 Feb 2022 12:30:56 +0200

Summary of front-end pen test questions in winter 2020

Original address: Some great interview questions [4] Recently, I interviewed some companies and got some offer s. I don't record concept questions, but only coding questions. In their spare time, they can do these problems and practice their hands. Graffiti intelligence will recruit a large number of people in 2021. There are vacancies i ...

Added by mindfield on Thu, 10 Feb 2022 09:39:58 +0200

Vue -- 03. Life cycle of Vue, asynchronous communication, calculation properties, slots, custom events, and final summary

1, Life cycle of Vue Official documents: https://cn.vuejs.org/v2/guide/instance.html# Life cycle diagram    Vue instances have a complete life cycle, which is a series of processes from the beginning, such as creating initial platform data, compiling templates, mounting DOM, rendering update rendering, unloading and so on. We cal ...

Added by Aebx on Thu, 10 Feb 2022 04:07:55 +0200

Communication value transfer between components

I Pass parent component to child component Parent components communicate with child components through props attribute Data is one-way flow parent - > child (if props data is modified in the child component, it is invalid, and there will be a red warning) 1. Parent component Vue code is as follows: Father to son Bind an attribu ...

Added by IlikeTheWeb on Thu, 10 Feb 2022 02:01:36 +0200

Understanding Vue transitions and animation

Understanding Vue transitions and animation The transition element is a wrapper that helps us add transition functionality to the element. It provides different hooks and adds classes to changing elements so that we can style them at different stages of transformation. enter-from-classenter-active-classenter-to-classleave-from-classleave-acti ...

Added by The Chancer on Wed, 09 Feb 2022 22:10:55 +0200

What are the Web front-end development technology stacks

This article will summarize and sort out the front-end technology stack currently used by the author, which is very basic. If you know something about the basic JS/HTML/CSS framework, but you don't know or feel confused about the current popular web framework, more directly the technology that can be employed, then I believe you will gain enoug ...

Added by antonbrk on Wed, 09 Feb 2022 20:27:34 +0200

02 regular expression

regular expression 1. Learning objectives Master the function of regular expressionsMaster the syntax of regular expressionsLearn about common regular expressions 2. Content explanation 2.1 concept of regular expression Regular expression is a logical formula for string operation. It uses some specific characters defined in advance and th ...

Added by stride-r on Wed, 09 Feb 2022 20:13:08 +0200

vue component communication

I Pass parent component to child component Parent components communicate with child components through props attribute Data is one-way flow parent - > child (if props data is modified in the child component, it is invalid, and there will be a red warning) 1. Parent component Vue code is as follows: Father to son Bind an attribu ...

Added by dk4210 on Wed, 09 Feb 2022 17:44:00 +0200

Modular development

Modularization is the first mock exam in the most important front end development paradigm. Modularity is only thinking. Modular evolution process Stage1 file division method Pollution global scopeNaming conflict problemUnable to manage module dependenciesEarly modularity depended entirely on conventions Stage2 namespace mode Each module e ...

Added by lazytiger on Wed, 09 Feb 2022 11:47:00 +0200

The WebPack configuration file is extracted and stored

Separation of WebPack configuration files sketch Separate the configuration file to achieve the goal of relying on one configuration file when developing and one configuration file when publishing. When the amount of code in the configuration file is huge, this can effectively improve the cleanliness; All configuration mixed webpack con ...

Added by uknowho008 on Wed, 09 Feb 2022 03:21:55 +0200