![]() ![]() ![]() Without precompiling templates in your build pipeline, Vue needs to translate the template string to a JavaScript render function at runtime. The virtual DOM makes room for a pretty big piece of optimization: you can now precompile your templates to pure JavaScript, so Vue can skip this step in the browser. Combined with the reactivity system, Vue is able to intelligently figure out the minimal amount of components to re-render and apply the minimal amount of DOM manipulations when the app state changes. Under the hood, Vue compiles the templates into Virtual DOM render functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |