Front-end - Which framework among angularJS, vue.js, and react should you start with?
PHP中文网
PHP中文网 2017-05-15 17:09:30
0
19
2767

I learned the Smarty template engine a few days ago, which solved the division of labor problem that I had been troubled by before. However, when getting the data returned by ajax, I have to use js to generate tags first, then add elements to the tags, and finally Put tags in HTML. . . Today I found that these frameworks (should) can solve this problem, but I don’t know which one to start with? Not sure which framework to choose based on the complexity of the project? I hope the seniors can give me some advice, thank you very much!

PHP中文网
PHP中文网

认证0级讲师

reply all(19)
为情所困

As a Vue fan, of course I recommend Vue.
The reason is:

  1. It’s easier to get started than the others. You don’t need to get a bunch of build tools to use it directly (of course it’s best to have them)

  2. Lightweight, smaller size, faster loading, of course the front-end likes small and beautiful things

  3. The function is powerful enough and there are solutions for most scenarios

滿天的星座

vue advocates the principle of simplicity and practicality, it is small enough and powerful enough, which is good

刘奇

I have used all three, react is similar to vue, and angular contains more functions (angular is divided into version 1 and 2, 2 is typescript used by default, 1 is too bloated), it is recommended to learn vue, I am also using it recently vue.

给我你的怀抱

Seeing so many recommendations vue above, I think the key is to understand what problem each framework solves and what benefits it brings to development and performance. Maybe after a while another framework will come out and be praised again. , it’s better if you can go deeper when studying

我想大声告诉你

According to your description, your needs should be relatively simple, just use simple Vue; Vue is simple enough and powerful enough.
Vuejs templates (not in .vue files) are strings and do not need to be converted; React’s JSX also needs to be converted (or introduce a lib), etc. It's too troublesome for you to get started with React.

But my personal suggestion is that if you have the opportunity and energy, it’s best to get in touch with or learn React.

迷茫

Angular has dependency injection and dirty value checking, but Vue does not have these. It is easy to get started and the documentation is very well written. It is recommended to learn Vue. It is a very good framework.

阿神

vue
Reasons: Simple, reliable and deep

大家讲道理

Recommend React + Mobx + Ant Design, which is as easy to learn as vue. Personally, I think the difficulty of the React technology stack is mainly Redux. Beginners or those who find it troublesome can actually bypass it. This is the todomvc project address of Mobx + React.

大家讲道理

Which ecosystem is perfect and which one should be used first

迷茫

Of course it’s vue

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template