[Wakagawa vision x source code reading] Issue 2 | vue3 tool function

Source code common reading preface

In order to help more students who are interested in source code, want to learn to read source code, and improve their writing and front-end technical abilities. Help readers consolidate the foundation, check for leaks and fill gaps, broaden their horizons, broaden their horizons, and know why they are.

I did my best to organize a weekly source code reading activity of about 200 lines. I have written more than 20 articles in the "Learning Source Code Overall Architecture Series" .

Welcome (jia) I WeChat  ruochuan12 to  communicate and participate in  the source code reading  activity. Every week, everyone learns about 200 lines of source code and makes progress together. You can continue to follow me @ Ruo Chuan .

Recommended learning order from easy to difficult

The activity introduction and order are detailed here . The recommended learning order from easy to difficult

Submit Notes

How to submit notes In short: read the tasks, read the auxiliary articles, read the source code, communicate and discuss, write notes in the Nuggets, and submit them to the comment area of ​​this article after writing.

In order to benefit everyone, and to bring more readings to everyone's articles and facilitate search, from March 27, 2022, notes can be directly published in the Nuggets, in the "[Wakakawa Vision x Source Code Reading Together]" section Several Issues | Title Naming" The first sentence at the beginning of the article added: This article participated in the weekly source code reading activity initiated by the public account @ Ruo Chuan Vision , click for details to participate together.

After writing your notes, go to the article comment area of ​​the current event to leave a message about your article and note features. It is convenient for everyone to read, learn, exchange and discuss.

All previous notes are stored in the Yuque discussion area .

task release time

August 9-August 16. You can study at your own pace, just submit your notes (not necessarily strictly according to the time I set). You can also review in time if you read together in the past, and you can continue to complete the notes if you haven’t completed them.

learning assignment

Focus on the article I wrote, how to read the source code is written in the article.
Practical basic tool functions in Vue3 source code that beginners can understand (better reading experience)

According to the requirements of the article, clone the project git clone https://github.com/lxchuan12/vue-next-analysis.git, start to learn the source code, communicate and discuss in the group if there is a problem, and take notes.
If you don't care about how to compile the packaged js file (not required), you can go directly to the third part.

If you don't want to clone for the time being, you can also access it through github, or github1s.

elective

Guess you like

Origin juejin.im/post/7084991376630218759