Home  >  Q&A  >  body text

前端 - 应该先从angularJS , vue.js , react 这些框架中的哪个开始入手?

前几天学了Smarty模板引擎解决了我以前一直困扰的分工问题,但当获取到ajax返回的数据时,还得先用js生成标签,然后在把元素加到标签内,最后再把标签放到HTML中。。。今天发现这几个框架(应该)都可以解决这个问题,但是不知道从哪个开始学?不知道根据项目的复杂程度应该选哪个框架?希望前辈们给点建议,十分感谢!

PHP中文网PHP中文网2737 days ago2729

reply all(19)I'll reply

  • 为情所困

    为情所困2017-05-15 17:11:30

    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

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-15 17:11:30

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

    reply
    0
  • 怪我咯

    怪我咯2017-05-15 17:11:30

    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.

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-15 17:11:30

    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

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-15 17:11:30

    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.

    reply
    0
  • 迷茫

    迷茫2017-05-15 17:11:30

    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.

    reply
    0
  • 阿神

    阿神2017-05-15 17:11:30

    vue
    Reasons: Simple, reliable and deep

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 17:11:30

    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.

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-15 17:11:30

    Which ecosystem is perfect and which one should be used first

    reply
    0
  • 迷茫

    迷茫2017-05-15 17:11:30

    Of course it’s vue

    reply
    0
  • Cancelreply