"Quick start TypeScript" TypeScript functional programming

catalogue 1, Functional programming style The variable type can be a function The literal can be a function The field of the object can be a function The argument to a function can be a function The return value of a function can be a function Parameters and return values are functions Higher order function 2, No side effects 3, Reference tr ...

Posted by formlesstree4 on Thu, 11 Nov 2021 04:51:05 +0100

Six kinds of inheritance in JS: prototype chain, stealing constructor, combinatorial inheritance, prototype inheritance, parasitic inheritance and combinatorial parasitic inheritance

Six kinds of inheritance in graphic JS: prototype chain, stealing constructor, combinatorial inheritance, prototype inheritance, parasitic inheritance and combinatorial parasitic inheritance inherit There are two types of inheritance: Interface Inheritance and Implementation Inheritance. Interface Inheritance requires method signature. ...

Posted by jcrensha627 on Wed, 10 Nov 2021 21:57:18 +0100

A lot of dynamic effects are used. Introduce four Nice Veu routing transition dynamic effects!

Author: Ahmad shadedTranslator: front end XiaozhiSource: sitepointThere 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, materials and ...

Posted by jrottman on Wed, 10 Nov 2021 06:43:46 +0100

Implementation of front-end and back-end separation based on MVC three-tier architecture (tourism management system project)

Implement front-end and back-end "tourism management system" based on mvc three component architecture 1. MVC three-tier architecture description 1.1. User Interface Layer, in which the User Interface Layer is used to display data and receive data input by users to provide an interface for user interaction1.2. Business Logic Layer, ...

Posted by suicide-boy on Wed, 10 Nov 2021 04:36:26 +0100

localForage - Improved offline storage

1. What is localForage localForage is a JavaScript library that is similar in simplicity   localStorage   Asynchronous storage of API s to improve the offline experience of your Web applications. It can store many types of data, not just strings. localForage has an elegant downgrade policy, and if your browser does not support Index ...

Posted by n00b Saibot on Mon, 08 Nov 2021 23:12:05 +0100

How to use vuex

1, Introduction to vuex   Vuex is an essential part of using vue. Based on parent-child and brother components, it is convenient for us to transfer values. However, if the same set of data is used between unrelated components, it seems powerless. Then vuex can solve our problem. It is equivalent to a public warehouse, which can save the d ...

Posted by adam1984 on Mon, 08 Nov 2021 17:24:42 +0100

Build a plug-in development environment for React's series of tutorials on developing chrome plug-ins

Following the basic introduction of chrome plug-ins in the last article, let's start to really practice the development of plug-ins. The first part starts with the construction of development environment. This part is also a part that is quite different between plug-in development and web spa application development Expected target The ex ...

Posted by Devon11 on Sun, 07 Nov 2021 23:02:40 +0100

Principle analysis and practice of Vue router

Today, senior brother, let's talk about the implementation principle of Router and how to implement such a plug-in. Vue Router is the official routing manager of Vue.js. It is deeply integrated with the core of Vue.js, making it easy to build a single page application. I won't introduce the use of Vue Router too much. You can go to the offic ...

Posted by billborric on Sun, 07 Nov 2021 02:44:50 +0100

Introduction to React components

All the partners who have used vue know the role of components, and the components in react have the same role. Next, I'll introduce how we should use components in react The components of react are mainly divided into four categories          Basic components: basic tags such as input and button, as we ...

Posted by virendrachandak on Sat, 06 Nov 2021 21:32:45 +0100

Vue router (routing in Vue) is basically used

because Vue Due to the lack of support for routing during development, the vue router plug-in was officially added. vue's single page application is based on Routing and components. Routing is used to set access paths and map paths and components. The traditional page application uses some hyperlinks to realize page switching and jump. In vue r ...

Posted by dips_007 on Sat, 06 Nov 2021 15:49:14 +0100