Giter Site home page Giter Site logo

vue-analysis's Introduction

vue-analysis

Vue源码注释版 及 Vue源码详细解析

本项目介绍的源码版本是当前(17年2月23日)1.x版本的最新版v1.0.26,2.x版本的源码会在之后更新。

Vue源码详细解析

Vue源码详细解析教程包含了Vue中从数据observe到模板解析、transclude、compile、link、指令的bind、update、dom批处理更新、数组diff等等环节,基本涵盖了Vue整个生命周期过程。订阅新文章请watch本项目。

文章 主线剧情

文章 支线剧情

阅读之前,请先阅读完主线剧情的内容,我在书写时也默认您已经看完主线系列文章,不会再细说Vue核心部分的内容.

正在书写

  • Vue源码详细解析--计算属性与lazy watcher
  • Vue源码详细解析--_digest方法与shallow update

源码注释版比文章要更加详细,对于看源码的同学,应该能帮到你。

虽然Vue本身的英文注释已经足够详尽,但依然有许多对于初看源码的同学而言比较难以理解的部分。主要是Vue实现的功能较多,因此,许多代码不知道其目的所在。因此我尽量注释了一些让人困惑的部分。对于许多已经很清晰的代码,如util部分、event部分,则基本没有涉及。

目前注释版依然有许多空缺,比如繁多的Vue指令部分。欢迎大家随时提PR。

vue-analysis's People

Contributors

ma63d avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.