- vueMarch 6, 2022 / 3 min read
Why Vue3 uses Proxy instead of Object.defineProperty?As we all know, Vue3 uses Proxy instead of Object.defineProperty() to listen for property changes. so what's the difference between the two?
- vueOctober 8, 2021 / 6 min read
Different Between Vue3 and Vue2Vue3 has made great changes in code compared with vue2, which makes us have a better experience in coding. Therefore, let's start to abandon vue2 and embrace vue3
- vueMarch 4, 2021 / 3 min read
How to use decorator in vueI believe that you must have encountered in the development of the second frame confirmation related requirements. It doesn't matter if you're using the secondary frame component of the UI framework, or if you're using your own wrapped frame component. You can't avoid the problem of lots of duplicate code in multiple uses. This accumulation of code makes the project unreadable. The project's code quality also became poor. So how do we solve the problem of double popbox code duplication? Use decorators.
- vueOctober 22, 2019 / 6 min read
Deep into the Virtual DOMVDOM is the abbreviation of Virtual DOM(Virtual DOM). It refers to the DOM structure simulated by JS, and the comparison of DOM changes is done on the JS layer. In other words, A VDOM is a JS object.