Vue3 custom Hooks definition:
Personal understanding: some reusable methods hang like hooks and can be introduced and called at any time to achieve the goal of high cohesion and low coupling, and they should all be considered hooks;
Why does Vue3 use custom Hook? :
Conclusion: It is to make the Composition Api more useful and fuller, and to m ...
Posted by NiXXeD on Mon, 07 Nov 2022 10:37:48 +0300
💖💖 Author: IT Transition Valley Design Exhibition 💙💙 Profile: I have been engaged in computer professional training and teaching for a long time, and I also love teaching in class. I am good at Java, WeChat applet, Python, Golang, Android, etc. I usually do some customized project development, code explanation, defense teaching, document wr ...
Posted by Bikkebakke on Sun, 25 Sep 2022 21:45:45 +0300
1 dynamic components
1.1 use of internal component component
1.1.1 concept and use
1.1.2 screenshot of operation
1.2 use of internal components keep alive components
1.2.1 concept and use
1.2.2 which life cycle does it run in vue?
1.2.3 registered name and name of the component
1 dynamic components
1.1 use of internal comp ...
Posted by simply07 on Wed, 03 Aug 2022 21:43:56 +0300
title: Chapter 6 Form and v-model
6.1 basic usage
v-model is used for bidirectional data binding on form elements: for example, the content entered in the input box will be mapped to the data on Bondi
After using v-module, the value displayed in the control of the form is only related to the bound ...
Vue's responsive principle is an old interview question, and most people will choose to recite the answer directly to deal with the interview. Once the interviewer continues to ask questions, he can't answer anything. Therefore, I hope to write code (about 300 lines) to implement a simple Vue MVVM framework by referring ...
Posted by superdezign on Wed, 25 May 2022 19:16:48 +0300
Understanding of virtual DOM in Vue
Posted by yeldarb on Wed, 25 May 2022 11:19:55 +0300
This time I share the problems of image upload and preview encountered in my work
Because we use the weex framework for development (weex is an old and abandoned framework), we do not support some easy-to-use ui libraries such as El ui, which are popular and have rich functions. Therefore, we use the native input (type = file) when solving the ...
Posted by nikefido on Tue, 24 May 2022 08:46:59 +0300
vue calculated attribute
(1) Basic example
Sometimes we need to use the data a in the template. At this time, we need to use the expression, but in some places, we need to do some simple processing on the data a before we can use it. Then we will write some js logical operations in the expression. For example, now we need to realize the calcula ...
Posted by msing on Tue, 24 May 2022 04:56:29 +0300
JQuery, a Write Less Do More framework, will inevitably look up to native js when used too much.
Xiaocai actually doesn't want to write this blog. It seems very elementary, but seeing that the binding and lifting of native js events on the network can't be understood, he decided to popularize science.
First of all, I don't know much about sma ...
Posted by netmastan on Mon, 23 May 2022 07:34:38 +0300
Background: Recently, I was working on an APP video upload project. Due to the use of my own server, there are certain memory restrictions. At present, most mobile phones have a large resolution, and the video captured is several megabytes in a few seconds. How to compress the recorded video is the same as wechat. Therefore, I consulted some ma ...
Posted by Loldongs on Mon, 23 May 2022 01:13:51 +0300