r/webdev • • Oct 18 '18

Angular 7.0.0 released

/r/Angular2/comments/9pbn4f/angular_700_released/
223 Upvotes

148 comments sorted by

View all comments

Show parent comments

13

u/nowtayneicangetinto Oct 19 '18 edited Oct 19 '18

Here's my bit of knowledge gained professionally to best help you out!

  • AngularJS

    • Excellent for learning a quick, stable, and widely used framework

    • It just makes sense. It's easy to learn and has a lot of baked-in features (directives) to help you get going.

    • Initially built for directives then retrofitted for components

    • Two way data-binding out of the box makes life easier as you learn.

  • Angular 2+

    • Steeper learning curve, but once learned is incredibly powerful.

    • Component based architecture

    • Also uses directives that help make DOM elements easier to create, manipulate, etc.

    • Direction of data is easier to manage (one way, two way, controller -> model, model -> controller)

    • Many companies that have antiquated AngularJS code bases are usually moving to this framework.

  • React

    • Light weight library that is fast and relatively easy to learn

    • Relies on solid knowledge of vanilla JS skills

    • Component based architecture, contains HTML and JS within a JS file.

    • Great for practicing JS and understanding the fundamentals

    • Many companies are using React from startups to large corporations.

    • Relies on state management, most prominently Redux, for larger applications

  • Vue

    • Think of it as the love child of React and AngularJS, has directives, lightweight and super fast.

    • Huge community and growing

    • Unique structure as it uses directives and components, built with both in mind.

    • Contains HTML, CSS, and JS in a .vue file

    • More and more companies are picking it up, but seems to be mainly startups.

    • Larger apps need state management like Redux or VueX

This is not a complete picture, just a few bullet points that come to mind. There are many differences between all of these Frameworks/libraries that I didn't even touch on. There are many purists out there that will make solid arguments for why you should use one over the other, but in reality, there is no "best choice". It comes down to the scope of your project and how you aim to accomplish it. Here's my final thought:

If you're new to JS go with AngularJS, it will build up a good foundation and make you viable for jobs.

If you're somewhat experienced with JS go with React, it will make your JS skills that much better and if you're really up for a challenge, learn and implement Redux.

If you're familiar with the core concepts of JS and modern frameworks, go with Angular 2+, it will force you to learn TypeScript and rxjs, as well as how to build a fully scalable powerful app.

If you're comfortable with JS and want to see how fast you can learn a new challenge, go with Vue.

I suggest Vue last because it is the least in-demand (at least from what I have seen) in terms of job listings. If you don't care about landing a job right away, go for any of these. They all present great challenges of their own and will make you feel accomplished no matter what. In the end, they will all make you fall in love with JS.

Best of luck to you, I hope this helped!

35

u/hansolo669 Oct 19 '18

I would strongly advise against learning AngularJS ... The writing is on the wall, and I don't know of any teams willingly adopting it for new development.

Plus the bizzaro injection system and dependency framework is just a handicap when trying to pick up anything sane (saying that as someone that did a lot of AngularJS work).

12

u/Calsem Oct 19 '18

I totally agree with this. Learning AngularJS is a career dead end.

1

u/_xiphiaz Oct 31 '18

Unless you want a career in maintaining those websites that refused to upgrade shudders