Interpretation of Vue source code -- responsive principle
When learning becomes a habit, knowledge becomes common sense. Thank you for your likes, collections and comments.The new video and articles will be sent to WeChat official account for the first time. Li YongningThe article has been included in github warehouse liyongning/blog , welcome to Watch and Star.prefaceLast article Interpretation of Vu ...
Posted by mr_armageddon on Wed, 23 Feb 2022 04:06:59 +0100
Typescript - Advanced
object-oriented That is, the operations in the program need to be completed through objects, for example:
To operate the browser, use the window objectThe document object is used to manipulate the web pageTo operate the console, use the console object
In the program, all objects are divided into two parts: data and function. There is no more ...
Posted by dieselmachine on Mon, 21 Feb 2022 13:39:01 +0100
pinia introduction and setup syntax
pinia introduction and setup syntax
1. Basic characteristics of Pinia
pinia is also a Vue state management tool, which has many similarities with vuex. In essence, he was developed by the core members of vuex team, and put forward some improvements on vuex. Compared with vuex, pinia removes the distinction between synchronous function Mutatio ...
Posted by dk4210 on Mon, 21 Feb 2022 11:59:16 +0100
Node.js source code analysis - registration of native modules (C + + Modules)
title: Node.js source code analysis - registration of native modules (C + + Modules)date: 2018-11-28 21:04:49tags:- Node.js
- Node.js Source code analysis
- Source code analysiscategories:- Node.js Source code analysis
This article was first published on the personal website four years ago, and is now migrated to this site for re posting. The o ...
Posted by Warmach on Sun, 20 Feb 2022 04:55:36 +0100
15 minutes to get started vue3 0 (summary)
This article mainly introduces the 15 minute start vue3 0. The example code introduced in this paper is very detailed, which has a certain reference value for everyone's study or work
Vue 3 has not been officially released, but the Alpha version has been released. ***
Shouting that I can't learn anymore, I honestly opened the Vue 3 document w ...
Posted by Tjk on Sun, 20 Feb 2022 01:28:41 +0100
Learning about TS
First of all, TS mainly solves the main problem of unclear js type, so we should write its type when defining variables
Basic data type code
let b : number // At this time, the variable of b must be number, or an error will be reported
let isDone: boolean = false;
b = 1 // Of course, you will say whether there are other types. Of course, ...
Posted by arcanechaos on Fri, 18 Feb 2022 11:00:09 +0100
Vue3+Ts Episode 1
The first installment introduces the configuration of development tools
introduce
TypeScript introduction 1 TypeScript is an open source programming language developed by Microsoft. 2. TypeScript is a superset of JavaScript and follows the latest ES6 and Es5 specifications. TypeScript extends the syntax of JavaScript. 3. TypeScript is mor ...
Posted by dnice on Thu, 17 Feb 2022 16:51:07 +0100
typescript basic knowledge sorting
I Foundation typeNever:Throw exceptionFunction expression with no return value🌰// The function returning never must have an unreachable end point
function error(message: string): never {
throw new Error(message);
}
// The inferred return value type is never
function fail() {
return error("Something failed");
}
// The function returni ...
Posted by jrbush82 on Mon, 14 Feb 2022 13:05:40 +0100
Vue learning diary 38
1.TypeScript union type Resolution: the union type can set variables to multiple types through the pipeline (|), and the value can be assigned according to the set type.
2.TypeScript basic type Resolution:
[1]Any type any: Declare as any A variable can be assigned any type of value
[2]Number type number: Double precision 64 bit floating point ...
Posted by CBI Web on Mon, 14 Feb 2022 12:10:35 +0100
Use RxJs to implement an Angular Component that supports infinite scroll
First, let's take a look at the runtime effect of my Angular application that supports infinite scroll:https://jerry-infinite-scroll...Scroll the middle mouse button and scroll down to trigger the list to continuously send requests to the background to load new data:The following are the specific development steps.(1) app.component.html source ...
Posted by dcole on Mon, 14 Feb 2022 05:27:32 +0100