一般来说,我们阅读源码有以下目的:
- 深入了解代码实现原理,解决使用框架当中的疑问
- 学习优秀源码的代码规范及设计思路
第一步:了解整体代码结构。知道每个目录都存放什么文件,大致的作用是什么。 第二部:精读每个文件。了解每一句代码是什么意思,它的作用是什么。 第三步:结合Vue文档的重要概念和设计思路,将多个相关的文件联系起来理解这些概念和思路。
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.