vue source code understanding - change detection

1. Change detection How to implement data responsive system in Vue to achieve data-driven view. change detection One of the biggest features of vue is data-driven view What is a data-driven view? We can understand the data as a state, and the view is what users can intuitively see. The page is not a constant layer. It changes dynamically. ...

Added by Sheen on Tue, 25 Jan 2022 00:46:59 +0200

Notes - browser built-in objects

What is the browser object model BOM: Browser Object Model. The browser model provides an object structure that is independent of content and can interact with the browser window, which is the API provided by the browser. Its main objects are: window object, the core of BOM, is the interface for JS to access the browser and the Global obj ...

Added by Rochtus on Mon, 24 Jan 2022 22:38:48 +0200

Vue learning notes - Custom Instruction && components

2. User defined instructions 2.1 registration of directives The registration of user-defined instructions is divided into global registration and local registration. For example, registering a v-focus instruction is used to automatically obtain the focus when the page is loaded. That is, as long as no content is clicked after opening th ...

Added by Q695 on Mon, 24 Jan 2022 21:07:14 +0200

Comparison between Javascript and C# Linq iterators

outline In front-end and back-end code development, iterator pattern is widely used in the process of data traversal to simplify our traversal code. This paper mainly compares the iterators in JS and C # from two aspects of implementation and principle, so as to deepen our understanding of the programming mode of iterators. code implementatio ...

Added by anoopmail on Mon, 24 Jan 2022 20:44:59 +0200

[Python crawler advanced learning] - JS reverse hundred examples - complex login process, latest WB reverse

  statement All contents in this article are only for learning and communication. The packet capturing content, sensitive website and data interface have been desensitized. It is strictly prohibited to use them for commercial and illegal purposes, otherwise all the consequences have nothing to do with the author. If there is infringement, p ...

Added by slipster70 on Mon, 24 Jan 2022 18:54:50 +0200

Promise control concurrency in 5 minutes

causeThe project needs to do an upload function, which uploads 20 videos at a time. There will be a blocking problem if it is not transmitted directly.Because a web page can only have 6 tcp connections with the same domain name at most. If you do not control the concurrent transmission of 6 interfaces at the same time, all subsequent operations ...

Added by jaiswal on Mon, 24 Jan 2022 16:34:53 +0200

One article helps you solve 90% of JS handwritten questions

Are you still afraid of handwritten questions? This article can help you expand and consolidate your JS foundation, and handle 90% of handwritten questions by the way. In the work, common requirements can also be realized by handwriting, such as deep copy, anti shake and throttling, which can be directly used in future projects to improve proje ...

Added by dude81 on Mon, 24 Jan 2022 12:21:38 +0200

The idea of using JavaScript to realize the automatic praise tool in the comment area of station B

What is JavaScript? JavaScript is a cross platform, object-oriented Web programming scripting language. Most websites use JavaScript, and all modern Web browsers (whether desktop, tablet or mobile browsers) contain JavaScript interpreters, which makes JavaScript the most widely deployed programming language in history. Over the past decade, No ...

Added by ntjang on Mon, 24 Jan 2022 09:55:48 +0200

Learn axios must know and be able ~ basic use of axios, must know details before using axios, differences between axios and instance objects, interceptors and cancellation requests

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 1, Basic usage of axios: ✿ details before using axios: 1. The axios function object can be used as an axios(config) function to send requests, or ...

Added by ybinds on Mon, 24 Jan 2022 08:06:16 +0200

12 JavaScript feature tips~

1. Short cycle: Shorten the loop in one line and write less code for the loop var names=[ 'xinyu', 'xinyuya', 'xinyuyou' ] Original code: for( var i=0,i<names.length;i++ ){ console.log( names[i] ) } After shortening the code: for ( let name of names names ) console.log( name )   2. Adjust the length of an array Length is not only ...

Added by djwiltsh on Mon, 24 Jan 2022 06:13:37 +0200