This book is also a vue.js advanced book! When I can probably use VUE, I can only write logic. Just stay in the level of will use, when asked about some principles, always do not know how to say, but know how to use. So I spent three days to go over the internal knowledge of VUE, but some of the code inside themselves do not understand. When these can have some impression, can understand a little bit of the internal principles of digestion, after upgrading. I’ll probably read the book again later

The directory structure

  • The first chapter of this book will cover the history of vue.js, with an introduction, and why you should read this book. Vue3 was also released in August this year. I believe vUE will be better and better
  • Then the first one – change detection. That’s the principle of vUE responsiveness, object hijacking, array hijacking, data tracing response. And existing problems, solved by set,set,set,delete
  • Then the second chapter — the virtual DOM. Introduces the virtual DOM, nodes, and types of nodes. As well as node update strategies, the diff algorithm seems to have no focus on the explanation
  • Then chapter 3 — How to compile a Render function into a view, interpreter, optimizer, code generator if you generate a VNode
  • Then part 4 — instance methods and global apis used by vue.js, and the lifecycle. Their initialization, registration, and mechanism. Then the final chapter covers the vue.js style specification

conclusion

This is the core of vue.js, and it doesn’t seem to have a lot of content, but there’s always a feeling that you don’t know anything. Vue is a set of progressive frameworks for building user interfaces. The so-called progressive framework is the function we need in the development process, and then add modules to the VUE project. In fact, the core module of VUE is the view layer rendering and component mechanism.

The reason I often feel like I can’t learn Vue is that I also use axios–vuex– Router –webpack– VUUE — CLI –elementui. That’s what we call the whole family barrel!

So we should learn each module slowly

slow is fast

Only by slowing down can we have time to think; In silence, we can see our hearts,