When building a front-end project, how to choose from vue, react and Angular about technology selection

I found some information on the Internet, but how to choose in real projects

I checked some relevant information, this is some simple comparison, but I want to know how to choose in the real project?

in terms of performance, when a component changes in React, it will re-render the entire component subtree based on that component.

the dependency on the Vue component is automatically tracked during rendering, so you can know which component really needs to be rendered.

Augular is bidirectional data binding, React unidirectional data binding

Apr.25,2021

Architecture selection, priority is given to programmers. If mobility is high, more people will use vue, and get started quickly. If the staff is more fixed, choose react,react is more cumbersome than vue, slow to use, but easy to write is easier to use than vue. Forget angular, you don't know when he will say that angular has been upgraded, the code structure has been changed, and only dart is supported. How can you reverse the project you have written in typescript?


I think the market has formed a common understanding of these three frameworks:

  • Angular is suitable for more complex SPA applications, such as tools. Angular belongs to a large framework, each module is relatively complete, and the tools and extensions provided are rich, so it is suitable for settling large projects, but the cost of getting started is high. Someone upstairs said that I don't know when I will become dart, one day. I don't think the technicians of Google will be so capricious, and the Google background is the most secure of the three frameworks.
  • React is suitable for products that require high performance and are compatible with mobile devices. Applications such as RN are relatively widespread. Mobile devices are used more often, and there are more people who can get started. The learning curve is steep and must be led by good architects.
  • Vue is suitable for adding, deleting, changing and querying management systems, such as H5 embedded pages, Mini Program and so on. This kind of application changes frequently, personnel mobility may be large, easy to use, and the comprehensive cost is low.

angular due to rapid changes, as well as some historical reasons, I did not use in depth, like or not comment.
and the current framework selection is basically selected from two major frameworks (react and vue)

Let me analyze it for you.

first determine whether you want to use the framework.

the complexity of the project should be proportional to the complexity of the framework, so first evaluate whether it is necessary to introduce a complex framework,

however, in most cases it is necessary, but not necessarily.

then identify the current complexity of the project and the complexity of the future (in recent months or six months).

both vuejs and react have their own characteristics. Vue is a responsive library for building UI, while react
is a declarative functional UI library. The original positioning of the two is not quite the same.

To put it simply, vue is more "automated and intelligent", react is "freer and more controllable", and react is purer and more controllable.

Finally, you need to be clear about the technical stack of the current staff, and consider the recruitment situation if the team has not yet been formed.

in my personal experience, there are fewer people who are proficient in react. On the contrary, there will be more people who know a little bit about vuejs.


this kind of question is very bad, so first of all, Baidu uses poorly,
uses poorly, all can be classified as vegetable chicken.
the second is that the architecture requires you to have a certain amount of experience and years, and you have come into contact with all three, roughly know what's going on
understand the company's business types and needs, and then consider the difficulty and technical level of personnel comprehensively
. Finally, it's more than Baidu. Don't ask repetitive questions, brush with a sense of presence

Menu