Traditional Culture Encyclopedia - Traditional stories - Why vue is not suitable for large projects?

Why vue is not suitable for large projects?

Because Vue is a JavaScript-based framework, its features including simplicity of the framework, ease of integration, user-friendliness, and fewer limitations are reasons that have helped Vue compete with Angular and React. In fact, Vue doesn't seem to be able to compete with Angular and React in many applications, and it's usually not the choice when working on large projects.

Vue differs from other large frameworks in that it's designed to be applied layer by layer, from the bottom up.Vue's core libraries focus on the view layer, which is not only easy to get started with, but also makes it easy to integrate with third-party libraries or existing projects. Vue's core library focuses only on the view layer, making it easy to get started and integrate with third-party libraries or existing projects. On the other hand, Vue is fully capable of powering complex single-page applications (SPAs) when used in conjunction with a modern toolchain and a variety of supporting libraries.

Expanded:

Benefits of the Vue framework. p>Benefits of the Vue framework:

1. Bidirectional data binding

Also known as responsive data binding. Responsive here is not the @media media query in the responsive layout, but rather refers to Vue will automatically synchronize the response to changes in certain data in the page.

2, componentized development

In the front-end application, can we also like programming the module package? This introduces the idea of componentized development. Vue through the components, a single page application of the various modules split into a separate component, as long as the first parent application in the various components to write a good label (occupy the pit), and in the component label to write the parameters to be passed into the component.

3, Virtual DOM

Now the network speed is getting faster and faster, many people's homes are dozens or even hundreds of M fiber optics, cell phones are also 4G to start with, it makes sense that a web page is only a few hundred K, and the browser itself will cache a lot of resource files, which is because of the browser itself to deal with the DOM is also a performance bottleneck, especially in the traditional development.

4, lightweight and efficient

Vue through a simple API to provide efficient data binding and flexible component system.

5, animation system

Vue provides a simple but powerful animation system, when the visibility of an element changes, the user can not only be very simple to define the corresponding CSS Transition or Animation effect, you can also take advantage of the rich JavaScript hook function for the underlying animation processing.

Baidu Encyclopedia-Vue.js