Vue filters, calculation properties, listener graphical version at a glance

Learning objectives of this article Be able to understand the role of key, virtual Dom and diff algorithmBe able to master setting dynamic stylesBe able to master filters, calculation properties and listenersAble to complete brand management cases 1. vue Foundation 1.0_vue basic v-for update monitoring Target: when the target structu ...

Added by alex_funky_dj on Mon, 14 Feb 2022 03:13:53 +0200

Increase of Vue3 user experience: asynchronous component and suspend component

By Matt MaribojocTranslator: front end XiaozhiSource: stackabuseThere are dreams and dry goods. Wechat search [Daqian world] pays attention to this dish washing wisdom who is still washing dishes in the early morning.This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials and my ...

Added by brentech on Mon, 14 Feb 2022 02:31:39 +0200

How to quickly build your own component library for the team -- build your own component library for the team based on element UI

The article has been included in github , welcome to Watch and Star.brief introductionIn understanding Element source code architecture Next, we build our own component library for the team based on element UI.Theme configurationThe basic component library has little difference in UI structure. Generally, there will be great difference in the ...

Added by bdemo2 on Mon, 14 Feb 2022 02:28:13 +0200

vue component development

Have you encapsulated components??Talk about component packaging????How do you package components in the project????? ... The above questions are the most frequently asked by interviewers? So how should you answer? A: all the projects I developed with vue are developed with the idea of component. Generally, when I build a project, I will creat ...

Added by Daney11 on Mon, 14 Feb 2022 01:47:55 +0200

Nuxt pit filling collection (practical development solution)

preface In the process of nuxt development, some pits were encountered. Through official documents and Baidu oriented learning, these pits were solved. Finally, the solutions of these pits were recorded. There is no need to read the full text, just read the required content directly. "Nuxt related pits will be updated in the future, and c ...

Added by Todd_Z on Sun, 13 Feb 2022 18:09:39 +0200

On javascript -- a taste of TypeScript

1, Overview Concept: TypeScript is a superset of JavaScript and supports ES6, Microsoft and open source programming languagescharacteristic: Debugging and maintenance: there are input prompts, syntax and logic error warningsType restriction: compilation errorWrite multi version output at one time: it can be compiled into various JS vers ...

Added by Cypher87 on Sun, 13 Feb 2022 17:17:27 +0200

Web Components family - life cycle of custom components

prefaceWhat is the "life cycle"? As the name suggests, the life cycle refers to the whole process of an object from before its birth to after its demise. Of course, the specific stages of the life cycle of different objects may be different.When we use the front-end component framework, we all know that each component has its own life ...

Added by oshecho on Sun, 13 Feb 2022 17:07:48 +0200

Express routing, express middleware, using express write interface

(1) Express routing 1, Concept of routing 1. What is routing 2. Real life routing 3. Routing in Express 4. Examples of routing in Express 5. Route matching process II. Use of routing 1. Simplest usage (rarely used) const express = require('express') const app = express() // Mount routing app.get('/' , (req,res )=> { ...

Added by Bounty on Sun, 13 Feb 2022 16:32:50 +0200

JavaScript node operation

Node overview All contents in a web page are nodes (labels, attributes, text, comments, etc.), and nodes are represented by nodes in DOM. All nodes in the HTML DOM tree can be accessed through JavaScript, and all HTML elements (nodes) can be modified, created or deleted. Generally, a node has at least three basic attributes: nodeType, no ...

Added by laide234 on Sun, 13 Feb 2022 15:40:16 +0200

Understand React Hooks and several commonly used hook functions

Write in frontReact Hooks is a new mechanism launched by the react team in version 16.8 two years ago. As the most mainstream front-end framework, react's API is very stable. The release of this update shocked many front-end bosses who fear the new wheel. After all, each update is a high-cost learning. Is it easy to use?The answer is easy to us ...

Added by KaFF on Sun, 13 Feb 2022 14:42:06 +0200