This is a record 前端面试的话术集锦第十三篇博文——高频考点(Vue常考进阶知识点)
and I will keep updating this blog post. ❗❗❗
In this chapter, we will learn Vue
some advanced knowledge points that are often tested in the future.
1. Responsive principle
Vue
It is used internally Object.defineProperty()
to implement data responsiveness. Through this function, you can monitor set
and listen to get
events:
var data = {
name: 'poetries'
}
observe(data)
let name = data.name // -> get value