Category : Front end

Preface Some beginners may be puzzled by the usage scenarios of computation attributes and listening attributes. This article mainly introduces the usage, usage scenarios and the differences between the two.Please stamp the code of this articleGithub blog, the paper finally feel shallow, everyone began to knock more code! Calculation attribute Introduction The calculation attribute is ..

Read more

This series of articles is《Node.js Design Patterns Second Edition》The translation of the original text and the reading notes were serialized and updated in GitHub.Synchronized translation links. Welcome to pay attention to my column, and subsequent blog posts will be synchronized in the column: Encounter’s Digging Column Programming Thinking of Zhihu’s Column Encounter Segmentfault front-end station ..

Read more

summarize For background development, logging is a very common development habit, which we usually usetry…catchCode blocks are used to actively capture errors. For each interface call, the time consumption of each interface call is also recorded so that we can monitor the server interface performance and troubleshoot problems. When I first entered the company, it ..

Read more

This week,Chrome 70The official version was released.Progressive Web Apps(PWA)Has been officially supported toWindows 10Platform, however, long before previous versions,ChromeHas passedchrome://flagsSupport to open the experimental function, has long been supported inWindows 10Installation on platformProgressive Web Apps(PWA). Google said that the experience of web applications installed on the desktop is very close to that of local applications, ..

Read more

In the last articleLearning and Practice of Service Worker (2)-Brief Introduction of ——PWAAs already mentionedPWAThe origin, advantages and disadvantages of the, and through a simple example to illustrate how the desktop and mobile end will be aPWAInstalled on the desktop, this article will illustrate how to use it through an example.Service WorkerThe message push function ..

Read more

As we all know, direct manipulation of DOM is a performance-intensive matter for the front end. Many frameworks, represented by React and Vue, generally adopt Virtual DOM to solve the performance problem of frequently updating DOM caused by frequent state changes in increasingly complex Web applications. This paper implements a very simple Virtual DOM for ..

Read more

Recently, I developed a small recording program called “I-I” and decided to sum up the knowledge learned during this period from shallow to deep and share it with everyone. If there are any mistakes, I hope the bosses can point out. Directory Application for applets Use of Developer Tools Development of Small Programs Statistics Release ..

Read more

When developing react programs, we often encounter such warnings, and then we think: Oh! Loop subcomponent forgot to add key ~ For convenience, we sometimes use the circular index as the key without thinking, but is this really good? What is the best value for key? In order to understand, this article will analyze “key” ..

Read more