TypeScript learning-06 generics

generic paradigm introduce In software engineering, we should not only create consistent and well-defined API s, but also consider reusability. Components can support not only current data types, but also future data types, which provides you with very flexible functions when creating large-scale systems. In languages like C# and Java, g ...

Added by akumakeenta on Tue, 01 Feb 2022 20:35:17 +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

TypeScript learning-02 variable declaration

Variable declaration Variable declaration Let and const are relatively new variable declarations in JavaScript. As we mentioned before, let is similar to var in many aspects, but it can help you avoid some common problems in JavaScript. Const is an enhancement to let, which can prevent the re assignment of a variable. Because TypeScript ...

Added by chadowch on Sat, 29 Jan 2022 22:32:43 +0200

Vue3+Typescript(coderwhy) super detailed learning notes vue3 development basic syntax

(pay attention to whether I can accept the update push) I Knowledge supplement 1.1. (understand) this in methods 1.1.1. Arrow functions cannot be used If we want to use data to return the data in the object in methods, this must have a value, and the data in the data return object should be available through this. So can this be a windo ...

Added by zirius on Fri, 28 Jan 2022 22:39:02 +0200

Generic of [Typescript Introduction Manual]

Generic of [Typescript Introduction Manual] ๐Ÿš€ [TypeScript Introduction Manual] records the concept of Ts with high attendance, which is designed to help you understand and be familiar with Ts ๐ŸŽ‰ This series will continue to be updated and corrected, focusing on the points you are interested in. Welcome to leave messages and exchange, and ...

Added by jmrouleau on Fri, 28 Jan 2022 12:35:34 +0200

[Vue3] new Vue3 status management tool: Pinia

[Vue3] new Vue3 status management tool: Pinia New Vue3 status management tool: Pinia Vue3 has been released for some time. It adopts a new responsive system and builds a new Composition API. The surrounding ecology of Vue is stepping up the adaptation of this new system, and the official state management library Vuex is also being adapted. Th ...

Added by Sakujou on Fri, 28 Jan 2022 01:08:22 +0200

TypeScript learning notes

7,Typescript Official documents Atwood's law Jeff Atwood, one of the founders of Stack Overflow, put forward the famous Atwood law in 2007 any application that can be written in JavaScript , will eventually be written in JavaScript. Any application that can be implemented using JavaScript will eventually be implemented using JavaScri ...

Added by menelaus8888 on Thu, 27 Jan 2022 14:14:45 +0200

JavaScript advanced tutorial (advanced functions, closures, regular expressions, ES6 new syntax, new extension methods)

catalogue Function definition and call Strict mode What is strict mode Turn on strict mode Changes in strict mode Higher order function closure regular expression ES6 new syntax Built in object extensions for ES6 Extension method of Array Extension method of String Set data structure Function definition and call Functions can b ...

Added by BlackenedSky on Thu, 27 Jan 2022 03:48:00 +0200

Vue3 document parsing

Vue3 document parsing After thinking about it, it's better to send it. After all, Vue may not be contacted for a long time. I was thinking before, why do many people recommend reading documents when they encounter problems Why? Because the document is really useful (really fragrant) This article is a personal understanding of the content in th ...

Added by digitalmarks on Wed, 26 Jan 2022 16:26:56 +0200

Vue3 learning notes

catalogue Source code organization Composition API option api option api demo composition api (function based API) compostion api demo Performance improvement Responsive system upgrade Compilation optimization Source code volume optimization Vite ES Module Vite as Vue-cli Vite features Packaging method Vite create project Sour ...

Added by Codein on Mon, 24 Jan 2022 12:35:34 +0200