diff algorithm in depth?

1, Foreword A classmate asked: could you elaborate on the diff algorithm. To put it simply: diff algorithm is an optimization method, which compares the difference between the two modules before and after, and the process of repairing (updating) the difference is called patch, also known as patching. The article mainly solves the follow ...

Posted by Heywood on Thu, 28 Oct 2021 05:02:32 -0700

js data structure and algorithm learning stack queue single linked list

Understanding data structures Data structure is a way for computers to store and organize data. A data structure is a collection of data elements that have one or more specific relationships with each other-- Baidu Encyclopedia We understand data structures from our own perspective. Data structure is a way for computers to store and organize ...

Posted by misterfine on Wed, 27 Oct 2021 17:39:51 -0700

[note]vue from introduction to entering the grave basic grammar of the second book

vuejs official website Template grammar 1.1 interpolation 1.1.2 text Double braces {}} interpret the data as plain text rather than HTML code. Common usage <span>Message: {{ msg }}</span> v-once By using the v-once instruction, you can also perform one-time interpolation. When the data changes, the content at the interp ...

Posted by pas07920 on Wed, 27 Oct 2021 09:50:50 -0700

Detailed explanation of Vue Foundation

1.1 concept (based on vue2) 1.2 vue/cli scaffold 1.2.1 create project startup service 1.2.2 explanation of project directory (can be omitted) 1.2.3 custom configuration 1.2.4 eslint 1.2.5 single vue document 1.3 interpolation expression 1.4 MVVM design pattern 1.5 Vue instruction (key points, remember with a small book) 1.5.1 concep ...

Posted by thinsoldier on Wed, 27 Oct 2021 05:53:46 -0700

21-10-22--Vue learning record day 4

21-10-22--Vue learning record day 4 1, Filter Essentially, a filter is a special function The data on the template can be reprocessed and processed before data mounting The filter acts after the variable, uses | as the coincidence function, and processes the variable before | as the value of the function after | The filter function must ha ...

Posted by chomps on Wed, 27 Oct 2021 04:44:15 -0700

Use event bubbling and event delegation to optimize code - add event problems to child elements

Pure js calendar component learning notes The following records the problems encountered in the process of completing the calendar component in pure js Problems encountered 1. Drop down menu implementation The display of the drop-down menu and the style that will appear after clicking the option box are written in advance For example, t ...

Posted by cretam on Wed, 27 Oct 2021 01:09:36 -0700

Considerations for integrating Vue in Meteor

intro Scenario 1: If you find an old meteor project with version 1.8.1, it was created before May 2019 In October 2021, you want to create a 1.8.1 meteor project. You can create the project by specifying the version number, as follows: meteor create vue-meteor-app --release 1.8.1 then: But when you create a project and want to run it by ty ...

Posted by fazbob on Tue, 26 Oct 2021 21:49:06 -0700

On the principle of prototype inheritance

In my last article, I learned that prototypes can be used to share methods. Inheritance literally means that the attribute methods in the parent class are passed to the subclass, and the subclass does not need to write the same logical code repeatedly, which can greatly improve the readability and simplicity of the code. It is different from t ...

Posted by shanejeffery86 on Tue, 26 Oct 2021 20:43:33 -0700

Javaweb8 = = realize the login and registration function of front and back-end separation

                  The back end is as written in the previous two articles.         The front end picked up a front-end page from the Internet and used the JavaScript library jQuery to simplify the operation of DOM and BOM. I want to use ajax technology to initiate HTTP requests and ...

Posted by geecu on Tue, 26 Oct 2021 19:42:38 -0700

How to use the new ES specification in your project

Many articles are teaching us   ES6/7/8/9/11/12   Relevant specifications, but how to use these in our project   ES   standard? What do you need to pay attention to? This paper combines   ES11   Two very useful features in, the null merge operator (?) and the optional chain operator (?) to see how to use the rel ...

Posted by xeq on Tue, 26 Oct 2021 17:54:13 -0700