《深入浅出Vue.js》的相关代码
berwin / easy-to-understand-vue.js-examples Goto Github PK
View Code? Open in Web Editor NEW《深入浅出Vue.js》的相关代码
《深入浅出Vue.js》的相关代码
在watcher中的update代码每次都会调用get方法,get方法又会触发属性getter把watcher推进数组dep,那么只要不停的修改属性的值,就会不停的向数组中加入依赖而且是重复的,这里是不是不太合理?
你好,我在这里有些疑问?
在这个路径下easy-to-understand-Vue.js-examples/core/observer/watcher.js /的文件中
update()方法部分,如果是数组的情况下,传给回调的新旧值为什么是相同的?有空麻烦解答下,谢谢
看了一下运行时有错误,这个是否和书里面的代码完全一致呢?希望是完全一致的,目的就是复制到自己的练习目录里面;如果可以标注第几章,明显一些就好了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.