Quick learning TypeScript - concise and key manual - Volume I

👉 About the author As we all know, life is a long process, constantly overcoming difficulties and constantly reflecting on the process of progress. In this process, there will be a lot of questions and thoughts about life, so I decided to share all my thoughts, experiences and stories in order to find resonance!!! Focus on Android/Unity an ...

Posted by RobM on Thu, 14 Oct 2021 16:15:52 -0700

[React introduction practice] combined with ant design, develop a table list with [complex operation] and the use of [Modal pop-up] from 0

There is no doubt that you are born worthy of love.   catalogue 1. See the page effect 2. Analyze interface documents (1) Freeze and unfreeze interface   (2) View details interface   (3) Assign role interface   (4) Create user interface   3. Reference UI to write front-end pages (1) Overall page layout (2) L ...

Posted by Creech on Mon, 11 Oct 2021 21:00:59 -0700

One developer summed up these 15 elegant JavaScript tips

Author: Haseeb Anwar Translator: front end Xiaozhi Source: medium There are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning. This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materi ...

Posted by onepixel on Mon, 11 Oct 2021 17:37:59 -0700

Vue3 official website - tools TypeScript support (Vue CLI)

Vue3 official website - tools (XIX) TypeScript support (Vue CLI) Summary: Vue CLI https://cli.vuejs.org/zh/guide/ 1. TypeScript support Vue CLI Provides built-in TypeScript tool support. Official statement in NPM package With the growth of applications, the static type system can help prevent many potential runtime err ...

Posted by kingssongs on Thu, 07 Oct 2021 13:11:10 -0700

webpack configuration for typescript

TypeScript packaging webpack integration Usually, in actual development, we need to use the build tool to package the code; TS can also be used in combination with the build tool. Next, take webpack as an example to introduce how to use TS in combination with the build tool; The steps are as follows: Initialize project Enter the project roo ...

Posted by Shazbot! on Wed, 06 Oct 2021 19:17:26 -0700

Showdown front-end algorithm - Search Search Algorithm - binary search

Index of this series Linear table basis Linked listqueueStack Tree structure foundation Binary treeHeap and priority queueJoint search set Sorting algorithm Quick sortMerge sortCardinality / topological sorting Search Search Algorithm Binary search To be continued Binary search principle Binary search is an algorithm applied to ...

Posted by simenss on Tue, 21 Sep 2021 02:40:42 -0700

How to configure Less, px to reem, antd mobile and routing in TypeScript in React

Create project create-react-app ts3 --template typescript Configure less cnpm install less-loader less --save-dev Find node_ React scripts / config / webpack.config.js under modules The above two lines of code are placed in Click ctrl+f to find the sassModuleRegex and put it on the top of the comment const lessRegex = /\.less$/; const ...

Posted by xmatthawkx on Fri, 17 Sep 2021 20:26:32 -0700

Vue3.0 + Vite2.0 + Ts4.0 build a simple version of mobile blog

vue3-vite2-blog-h5 A simple version of mobile blog. The front-end project is mainly built by using Vue3's latest syntax sugar < script setup > and Vant3.0; Tsx is used to render common components; Vite 2.0 is used to build and package. The back-end project is mainly designed by Node framework Koa2 and MongoDB database. PC blog online pr ...

Posted by jabapyth on Mon, 13 Sep 2021 11:44:41 -0700

JavaScript branch structure statement

Branch structure statement in JS JS code should be executed from top to bottom Branch structure statement: when a part is executed, select whether to execute a section of code according to the condition Conditional branch statement in JS - if There are four ways to write 1, if branch 1. if state ...

Posted by alecapone on Wed, 24 Jun 2020 00:55:41 -0700

Use ResizeObserver to monitor the size of a single element

1, API introduction ResizeObserver This is an API that can monitor the size and position changes of an element. It is a class. It provides an observer, which will be called on each resize event. Currently, chrome, safari and fireFox(pc) are basically supported. 2, General usage const resizeOb= n ...

Posted by mark_18 on Tue, 23 Jun 2020 00:43:40 -0700