React Context quick use

1 use background In order to transfer data across components, especially across multi-level components, using context can simplify the process and make it clearer. It should be noted that components that depend on context will be updated when the context changes (not controlled by shouldComponentUpdate) It should be noted that the context ...

Posted by Loathor__Healer on Sun, 20 Feb 2022 13:19:49 +0100

Basic usage and principle of SingleSpa micro front end

Let's talk about the disadvantages of singleSpa Not flexible enough to dynamically load css filescss is not isolatedThere is no js sandbox mechanism (there is no global object, and the application switched every time is the same window) The front-end micro touch can be used for a while qiankun micro front-end framework is very mature and i ...

Posted by the elegant on Sun, 20 Feb 2022 13:01:06 +0100

Element plus component library quick start tutorial

If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions. preface Generally, when we develop sing ...

Posted by superhaggis on Sun, 20 Feb 2022 12:25:48 +0100

[front end Engineering] V: webpack5 quick start

webpack-dev-server To realize the automatic compilation and display of files modified during development, you can use the live server plug-in with webpack's watch attribute of true and vscode, that is, observation mode // webpack.config.js module.exports = { watch: true, ... } However, this has several disadvantages: All source cod ...

Posted by freshrod on Sun, 20 Feb 2022 12:03:27 +0100

JavaScript knowledge summary - Basic - > in-depth and continuous update

1, Introduction to JavaScript JavaScript introduction JavaScript was born in 1995. It is mainly used to deal with front-end verification in web pages. JavaScript is one of the most popular languages in the world. It is a scripting language running on the client (Script means Script) Scripting language: no compilation is required. The js ...

Posted by jmelnick on Sun, 20 Feb 2022 11:50:32 +0100

Sorting out common knowledge points of DOM objects of JS

If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions. Sorting out common knowledge points of D ...

Posted by crinkle on Sun, 20 Feb 2022 11:41:19 +0100

JavaScript Object. Use of defineproperty() method

Object. Use of defineproperty() method Object. The defineproperty () method will directly define a new property on an object, or modify an existing property of an object and return the object. Object.defineProperty(obj, prop, descriptor) Parameters: obj: object to define attributeprop: the name or Symbol of the attribute to be defined or ...

Posted by toodi4 on Sun, 20 Feb 2022 10:25:17 +0100

23_ Implementation of mini Vue for vue3 source code learning

Implementation of mini Vue for Vue3 source code learning Implement Mini Vue Here we implement a concise version of the mini Vue framework, which includes three modules: Rendering system module;Responsive system module;Application entry module; 1, Implementation of rendering system Rendering system, this module mainly includes three functio ...

Posted by mogster on Sun, 20 Feb 2022 09:44:30 +0100

js judge the input data length, mobile phone number, email address, and others

js to judge the number of Chinese characters //****************************************************************  //*Name: DataLength //*Power: calculate the length of data //*Entry parameter: fData: data to be calculated //*The length of the exit is F 2 (the length of the non Unicode parameter is F 2) //**************************************** ...

Posted by Strikebf on Sun, 20 Feb 2022 08:50:18 +0100

Vue introduction and training cases - Music Player (search music, listen to songs, watch comments, watch mv, etc.) (continuously updated)

Vue overview It is a javascript frameworkDOM operations can be simplifiedResponsive data driven el: mount point Scope of vue instance: vue will manage the elements hit by el option and its internal descendant elements.Other selectors can be used, but id selectors are recommendedOther double tags can be used, but HTML and BODY cannot be used. ...

Posted by venradio on Sun, 20 Feb 2022 07:14:22 +0100