Vue source All-in-depth analysis (source sharing)

Source: Internet
Author: User

The 1th Chapter preparatory work
This paper introduces the source directory design of Flow, Vue.js, the source code construction of Vue.js, and analyzes the initialization process of vue.js from the entrance.

1-1 Course Brief
1-2 Preparatory work
1-3 Understanding flow-Documentation
1-4 Understanding Flow
1-5 vue.js Source directory design-Documentation
1-6 vue.js Source directory design
1-7 vue.js Source code Construction-Documentation
1-8 vue.js Source code construction
1-9 starting from the portal-documentation
1-10 starting from the entrance
The 2nd Chapter data-driven
The process of template data to DOM rendering is explained in detail, starting with new Vue, analyzing the process of mount, render, update, patch, etc.

2-1 Data-driven-documentation
2-2 data-driven
What's happening with 2-3 new Vue-Documentation
2-4 New Vue What's going on?
2-5 Vue Instance mount implementation-documentation
implementation of 2-6 Vue instance Mount
2-7 render-Documentation
2-8 Render
2-9 Virtual dom-documentation
2-10 Virtual DOM
2-11 createelement-Documentation
2-12 createelement
2-13 update-Documentation
2-14 Update
The 3rd Chapter of Component
This paper analyzes the implementation principle of the component, and analyzes the realization of the principle of the component periphery, including the merging configuration, life cycle, component registration and asynchronous component.

3-1 Component-Documentation
3-2 Component
3-3 createcomponent-Documentation
3-4 createcomponent
3-5 patch-Documentation
3-6 Patch (top)
3-7 Patch (bottom)
3-8 Merging Configurations-documentation
3-9 Merge configuration (top)
3-10 Merge configuration (bottom)
3-11 life cycle-Documentation
3-12 life cycle
3-13 Component Registration-documentation
3-14 Component Registration (top)
3-15 Component Registration (bottom)
3-16 Asynchronous Components-documentation
3-17 Asynchronous Components (factory functions)
3-18 Asynchronous Components (Promise)
3-19 Asynchronous Components (Advanced)
4th chapter in-depth response principle ( Part I)
This paper explains in detail how the change of data drives the change of view, analyzes the creation of responsive object, relies on the realization process of collecting and distributing updates, deals with some special cases, compares the implementation of computed attributes and listening properties, and finally analyzes the process of component updating.

4-1 in-depth response principle-documentation
4-2 in-depth response principle
4-3 Responsive objects-documentation
4-4 responsive Objects (top)
4-5 Responsive Objects (bottom)
4-6 Dependency Collection-Documentation
4-7 Dependency Collection (top)
4-8 Dependency collection (bottom)
4-9 Distributing Updates-Documentation
4-10 Distribution Updates (UP)
4-11 Distribution Updates (bottom)
4-12 nexttick-Documentation
4-13 Nexttick
4-14 Considerations for detecting changes-documentation
4-15 Considerations for detecting changes
5th chapter in-depth response principle (bottom)
This paper explains in detail how the change of data drives the change of view, analyzes the creation of responsive object, relies on the realization process of collecting and distributing updates, deals with some special cases, compares the implementation of computed attributes and listening properties, and finally analyzes the process of component updating.

5-1 Compute Properties VS Listen Properties-Documentation
5-2 Compute Properties VS Listen properties (1)
5-3 Compute Properties VS Listen properties (2)
5-4 Compute Properties VS Listen properties (3)
5-5 Compute Properties VS Listen properties (4)
5-6 Compute Properties VS Listen properties (5)
5-7 Component Updates-Documentation
5-8 Component Updates (1)
5-9 Component Updates (2)
5-10 Component Updates (3)
5-11 schematic diagram
6th Chapter-Compilation (UP)
starting with the compiled entry function, we analyzed the implementation of the three core processes of compilation: Optimize, CodeGen, parse.

7th Chapter-compilation (bottom)
starting with the compiled entry function, we analyzed the implementation of the three core processes of compilation: Optimize, CodeGen, parse.

8th Chapter-Expansion (UP)
explains in detail the principles of common functions such as event, V-model, slot, keep-alive, transition, transition-group, and so on, as an extensible chapter that will analyze more of the features Vue offers in the future.

9th Chapter-Extension (middle)
explains in detail the principles of common functions such as event, V-model, slot, keep-alive, transition, transition-group, and so on, as an extensible chapter that will analyze more of the features Vue offers in the future.

10th chapter-Expansion (bottom)
explains in detail the principles of common functions such as event, V-model, slot, keep-alive, transition, transition-group, and so on, as an extensible chapter that will analyze more of the features Vue offers in the future.

11th Chapter Vue-router
The realization principle of vue-router is analyzed, the routing object and Matcher are analyzed from the beginning of the route registration, and the realization process and details of the whole path switching are analyzed in depth.

12th Chapter Vuex
This paper analyzes the implementation principle of VUEX, analyzes its initialization process, common API and the implementation of plug-in part.

Source code Resources please add qq:1077703392

Vue source All-in-depth analysis (source sharing)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.