Why encapsulate an audio component
This is mainly because the official audio of wechat applet is not maintained, and there are some problems on many iOS real machines, such as clicking can not be played, and the total time is not displayed
Requirements and limitations of audio components
Click play or pause
Display playback progress and total ...
Posted by CashBuggers on Wed, 25 May 2022 02:19:32 +0300
1.react life cycle
react life cycle: the whole process of many things from creation to destruction, this process is called the declaration cycle
React components also have their own life cycle, and understanding the life cycle of components allows us to complete the functions we want in the most appropriate place;
The relationship between the ...
React is a JavaScript library for building user interfaces
This article mainly introduces the use of create react app
Related resources
React
create-react-app
Quick start
Create project NPX create react app my app
Open project CD my app
Start project npm start
directory structure
There is no configuration or complex folder structure, ...
Posted by gobbly2100 on Tue, 24 May 2022 04:59:31 +0300
Mind map
preface
This article mainly describes some features and important components of Netty framework. I hope I can have a more intuitive feeling of Netty framework after reading it. I hope it can help readers get started with Netty quickly and reduce some detours.
1, Netty overview
Official introduction:
Netty is an asynchronous event-driv ...
Posted by UTAlan on Mon, 23 May 2022 08:08:02 +0300
Write Promise from zero
In this era of rapid front-end development, if you don't work hard today, you will become garbage tomorrow. Although this is seen on the expression package, I'm sure everyone has seen it. To be honest, this is rough, but this is the case.
To get back to business, let's take a look at today's content.
Last time we saw th ...
Posted by zytex on Sun, 22 May 2022 08:01:32 +0300
In fact, there are many markdown editor plug-ins. It really doesn't make sense to build wheels repeatedly, but I actually want a markdown editor that can directly upload pictures to qiniu cloud. It feels a little meaningful to me, so such a thing was born
characteristic
You can directly upload pictures to qiniu cloud by simply setting an extern ...
Posted by fiorelina21 on Sat, 21 May 2022 13:47:31 +0300
This article will analyze the source code of the remaining components in the react router
<Redirect>
Like other routing components, < redirect > uses < routercontext Consumer > receive routing data;
Define prop types for < redirect >
Redirect.propTypes = {
push: PropTypes.bool,
from: PropTypes.string,
to: PropTypes ...
Start with the previous rendering:
What is waterfall flow?
Waterfall flow is a common layout at the front end. The specific form is multi column layout, with fixed width and variable height. At the same time, as the page scrolls, new elements will be added to the lowest column at the end of the waterfall. There are three common waterfall flo ...
Posted by chefmars on Mon, 16 May 2022 22:57:08 +0300
Some recent tossing insights.
Personal blog things
In fact, I started the construction of personal blog website from a very early time, which initially benefited from GitHub Opening of IO domain names. In general, the history of building my blog is mainly divided into three stages.
Phase I
The first stage belongs to simplicity supremacy. Us ...
Posted by ngu_tri on Mon, 16 May 2022 15:58:17 +0300
This article is included in github github.com/Michael-lzg...
Characteristics of React
Use JSX syntax to create components, realize component-based development, and open the door for functional UI programming
The high performance is praised: the efficient update of view is realized through diff algorithm and virtual DOM
Why use React
The use ...
Posted by RobbertvanOs on Mon, 16 May 2022 14:07:53 +0300