Optimization method of vue coding

Performance optimization itself is a big topic, and it doesn't have a formula. It's best to analyze it in a specific project, rather than see that an optimization technique must be used in the project. This article mainly talks about the common optimization methods in the vue coding stage ๐Ÿ”‘ Use key About key in this article Please explain t ...

Added by Cyberspace on Tue, 01 Feb 2022 20:31:41 +0200

The principle of response in vue3

Before talking about the response of vue3, let's briefly talk about the response principle of vue2. Object type: through object Defineproperty() intercepts the reading and modification of properties (data hijacking) Array type: intercept by rewriting a series of methods to update the array. vue2's response will have the following problems: ...

Added by deadlyp99 on Tue, 01 Feb 2022 17:27:32 +0200

ES6 study notes

1,ES6 1.1. What is ES6 The programming language JavaScript is the implementation and extension of ECMAScript. ECMAScript is a syntax specification standardized by ECMA (a standards organization similar to W3C). ECMAScript defines: Language grammar โ€“ syntax parsing rules, keywords, statements, declarations, operators, etc. type โ€“ ...

Added by [PQ3]RogeR on Tue, 01 Feb 2022 13:20:52 +0200

Deep understanding of cross domain issues

Deep understanding of cross domain issues In this article, you will learn: What is homology, what is cross domain, what is source, and how to cross domain 1. Software description Demo using web Services: django3.2 python3.9 vue 2 2. Problem description What is cross domain CORSWhat is homology strategyHow to implement cross domain 3. P ...

Added by jeephp on Tue, 01 Feb 2022 10:31:29 +0200

Ideas for Implementing Permission Function of vue Background Project

In common background systems, there will be different user roles, such as super administrator, ordinary user, whose permissions are different, so the modules that can be manipulated or displayed are also not consistent. The following background management system framework is used as a template here Address: https://github.com/PanJiaChen/vue-ad ...

Added by Amplifier on Tue, 01 Feb 2022 10:17:55 +0200

JavaScript basic notes

JavaScript operator Operators commonly used in JS: Arithmetic operator Increment and decrement operatorsComparison operatorLogical operatorAssignment Operators Arithmetic operator operatordescribeexample+plus10 + 20 = 30-reduce10 - 20 = -10*ride10 * 20 = 200/except10 / 20 = 0.5%Remainder (modulus)Returns the remainder of division 9% 2 = 1 ...

Added by PHPBewildered on Tue, 01 Feb 2022 10:00:37 +0200

An inside volume note about TypeScript

Author: Attention ๐Ÿด Github: Github Nuggets: Go in and have a look ๐Ÿด Hobbies: Americano More Ice! An inside volume note about Typescript Typescript brief introductioninstallWrite the first demoBasics Raw data type Boolean valuenumerical valuecharacter stringNull value Arbitrary valuetype inference Union typeObject type - In ...

Added by planethax on Tue, 01 Feb 2022 09:39:52 +0200

2022 dark horse programmer - first stage of front-end learning (day03 CSS Foundation)

Learning video station B: Dark horse programmer - front end learning (phase I) CSS Foundation Basic cognition CSS knowledge CSS: Cascading style sheets What is the function of CSS?? Style HTML tags in a page Where is it written? In general, write style in the label, css in the label Code example: <!DOCTYPE html> <html lang=" ...

Added by chaffinator on Tue, 01 Feb 2022 08:08:05 +0200

[red book] Chapter 8: understanding objects, classes and object-oriented programming

ECMA-262 defines an object as an unordered set of attributes. We can imagine the object in JS as a hash table, in which the content is a set of key value pairs, and the type of value can be data or function. 1, Understanding object The usual way to create a custom Object is to create a new instance of the Object, and then add properties and m ...

Added by NJordan72 on Tue, 01 Feb 2022 07:50:56 +0200

Vue--Router -- hook function (navigation guard) -- usage scenario / instance

Original website: brief introduction explain This article introduces the usage scenario of the hook function (navigation guard) of Vue Router. Navigation guard usage of Vue Router, Official website It is described in great detail in. Only the usage scenarios are introduced here. Official website Navigation guard | Vue Router Hook functio ...

Added by adamgram on Tue, 01 Feb 2022 07:35:28 +0200