Vuejs,angularjs,reactjs Introduction

Source: Internet
Author: User

1, https://www.zhihu.com/question/263782718/answer/274623434 (Vue apart from Spa (single page app) also apply to what type of website? )

and a project to adopt what front-end framework, not based on the amount of data, but based on the structure of the project and learning into the original set, if the project is a very typical spa structure, then I would like to use Vue, React, angular one of the three to develop, If your team's people are familiar with typescript, and have learned Java, that angular is the first choice, and if your team is used to react the majority of people, then react is your best choice, and if your team is more new, At the same time everyone is just touching mvvm such a framework, then Vue is your perfect choice. Vue's popularity is a tribute to its lightweight features, such as the refactoring of a traditional Web project, and the refactoring of chunks with Vue, and the fits of react and angular.

2. https://www.cnblogs.com/hity-tt/p/7169307.html (Vue-based Spa single page application development-load Performance chapter)

Speed-Up Plan
For point A, the amount of resources can be processed from the aspects of packaging, caching and CDN distribution.
For Point B, there are two ways to solve it:

1) synchronous + Asynchronous data request: When the page is refreshed, using the synchronous MVC framework, the initialization data is brought in through the background route, and the intra-page routing jumps still takes place asynchronously.
2) asynchronous data request in advance: When the page is refreshed, the data request is advanced to the JS resource before loading, because the network request can be more concurrent, will save the individual data request time.
Tips: If it is not an asynchronous single page of MVVM, it is recommended to use Synchronous + asynchronous, the page presentation can be advanced to the JS resource before loading. [Because the page view in the MVVM framework is driven by data, the basic needs of this driver depend on the JS script implementation, so you must wait for the JS to be loaded before the page can be displayed correctly.] Therefore, in the MVVM framework, synchronous + asynchronous can save data request time only, but other single page application can save data request time +JS resource load time]
Ps:js Loading order: Does not affect the page initialization rendering JS bottom post: such as log, share, im related JS.

Vuejs,angularjs,reactjs Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.