Home > Article > Web Front-end > What is progressive javascript
Progressive JavaScript refers to a way from shallow to deep, from simple to difficult. "vue.js" is a progressive JavaScript framework; progressive means stepping forward, such as vue Progressive performance is in declarative rendering, component system, client routing, big data filling management, and build tools.
The operating environment of this tutorial: Windows 10 system, JavaScript version 1.8.5, Dell G3 computer.
vue.js is a progressive JavaScript framework.
What is progressive?
Progressive refers to a method that can progress from shallow to deep, from simple to difficult.
Progressive: Stepwise forward, vue is lightweight, it has many independent functions or libraries, we will choose some functions of vue according to our project, when we develop the project, we only When using Vue's declarative rendering, I only use Vue's declarative rendering, and we need to use its component system. We can use its component system.
Vue’s progressive performance:
Declarative rendering----component system-----client routing------big data filling Management -------Build tools
Declarative rendering:
// 引入vue <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> // html <div id="app"> {{ msg }} </div> // js <script> var app = new Vue({ el: '#app', data: { msg: 'Hello Vue!' } }) </script>
Componentized application
Can be Each of the above declarative files is regarded as a component. There can be multiple components that constitute each other in a project. I use a picture from the official website to illustrate
Client routing: Implement single-page application by using its routing features
Centralized state management: That is the concept of vuex in vue
Project construction: This is generally a process of development, packaging, deployment, online, etc. in a large project
Progressive summary: From If you use vue to differentiate and define, you can also use the api in vue alone, or you can use the underlying services in vue, so it can also be said that vue is both a library and a framework.
【Related recommendations: javascript video tutorial, web front-end】
The above is the detailed content of What is progressive javascript. For more information, please follow other related articles on the PHP Chinese website!