50000 word TypeScript introduction series (phase III) (recommended Collection)

Geek Jiangnan: a programmer who is particularly dedicated to development technology, has unique insights and in-depth research on mobile development, has many years of experience in iOS, Android and HTML5 development, has unique insights and in-depth research on NativeApp, HybridApp and WebApp development, and is also proficient in JavaScript, ...

Added by asmith on Wed, 05 Jan 2022 05:18:25 +0200

TS react: sort the types commonly used in react

React. There are some problems with FC annotation. There is some controversy on whether to use this type as annotation first, because this type destroys JSX Librarymanagedattributes, which causes it to ignore parameters such as defaultsProps and displayName of function and class components, See details In addition, it cannot return the children ...

Added by jpschwartz on Tue, 04 Jan 2022 21:09:16 +0200

05 - preliminary routing test

Source address: GitHub / Code cloud Preliminary routing test 🎯 target Nested routes are implemented. When the route jumps, only the view pointed to by the sub route is re rendered.The implementation access / (root path) displays / home (background home page). 😴 lessons The application interface in real life is usually compos ...

Added by bschmitt78 on Mon, 03 Jan 2022 11:44:16 +0200

Build react+typescript+antd project from scratch

Step 1: create a project through create react app npx create-react-app ai_video_project_frontend --template typescript When you open the project in vscode, you can see that the react project is successfully generated and the suffix of the component is tsx. At this time, it indicates that the prototype of react+typescript project is succ ...

Added by seran128 on Mon, 03 Jan 2022 08:58:54 +0200

JavaScript custom object

1, Create an object using object <script> // create object var stu = new Object() // Adding properties to an object stu.name='jibu' stu[9527] = 'jibu' //Special attribute names use square brackets // Adding methods to objects stu.study = function(){ console.log('study') ...

Added by danieliser on Mon, 03 Jan 2022 07:59:26 +0200

Building a component library from 0 to 1 - Lesson 4

Section IV engineering construction of component library Reference video link: [I want to open source] personally taught by Huawei leaders, Vue DevUI open source guide 04: project initialization and jsx support for engineering construction of component library_ Beep beep beep_ bilibili Reference documents: [I want to open source] Vue DevUI op ...

Added by blizzard on Sat, 01 Jan 2022 17:12:38 +0200

Cypress condition test

Condition test The following programming paradigms can be clearly expressed: If X, then Y, else Z Today, modern JavaScript applications are highly dynamic and variable. Their state and DOM change over time. The problem with conditional testing is that it can only be used when the state is stable. In modern applications, it is often impo ...

Added by dsjoes on Sat, 01 Jan 2022 16:36:48 +0200

TypeScript series Tutorial 9 "type conversion" -- conditional type

Type conversion is not only the most fun of TS, but also the soul of language. If you want to play well, you need to be proficient in various means and tools. Here are some common means of type conversion. Condition type Determining output based on input is the core of most useful programs, and js is no exception. The condition judgment t ...

Added by Hillary on Sat, 01 Jan 2022 01:53:41 +0200

The Complete Vue Tutorial - Writing Visual Screens from scratch

Summary (showcase OF OFs) OFPreviously, python was introduced for data visualization, data analysis and some small projects, but the basic knowledge is backend. To make a good visualization screen, we also need to learn some front-end knowledge (vue), there are many more complex online (need to execute a variety OF commands) and incomplete ...

Added by freshclearh2o on Fri, 31 Dec 2021 21:10:53 +0200

With React hooks, you can spend more time fishing

🎙️ preface According to legend, react 17 has a very powerful function, that is, react hooks. In fact, react hooks is a bit similar to vue3's composition API. They all appear to improve development efficiency. Then, in the following article, we will start from 0 to 1 to show you about react hooks and some common API s. No more nonsense, ...

Added by mr_griff on Thu, 30 Dec 2021 12:31:36 +0200