You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classDep{constructor(){this.subs=[];}addSub(sub: Watcher){this.subs.push(sub)}removeSub(sub: Watcher){remove(this.subs,sub)}notify(){// stabilize the subscriber list firstconstsubs=this.subs.slice()for(leti=0,l=subs.length;i<l;i++){subs[i].update()}}}
Vue.js
[Vue] 1 - Vue MVVM? React只是个View?
[Vue] 2 - 生命周期 / 组件通信 / computed vs watch
[Vue] 3 - 对象的数据劫持? / 双向绑定实现 / Vue响应式原理?
[Vue] 4 - Vue 和 React 不同
The text was updated successfully, but these errors were encountered: