from Hacker News

Ask HN: Using AngularJS 1.x in production?

by 64bitbrain on 5/13/16, 4:30 PM with 13 comments

Hello HN,

I am planning to re-write my web app in AngularJS 1.x. Currently I am using jQuery and it had worked fine so far. What are the benefits of using AngularJS in production over jQuery? Are you using it? Do you see a significant improvement in performance, etc..?

  • by flignats on 5/13/16, 6:10 PM

    I use it in an enterprise production application.

    Angular includes a jquery lite library and can be used within your angular app. It's has a learning curve, but once you understand the fundamentals of Angularjs the benefits become pretty clear.

    Some common jquery practices are made really easy with Angular (hiding/showing content, animations, applying styles conditionally). Plus, as a primarily front end developer it has expanded my development abilities (can create full stack applications, mobile apps more easily, ect).

    And yeah, maintainability of your code should be easier with AngularJS.

  • by humbleMouse on 5/13/16, 4:34 PM

    Angularjs and JQuery are two different libraries designed to solve different problems. Angular is designed to make data persistence very simple by mirroring your data clientside. JQuery is a tool that abstracts lots of common javascript tasks.

    I think you should do some more googling and reading up about Angularjs. This is an apples to oranges type of comparison.

  • by karmajunkie on 5/13/16, 7:11 PM

    I've shipped a few angular apps, and for my money I'd bet on React these days. If you do end up going the angular route, i'd probably think long and hard about starting with 1.x instead of 2.
  • by alistproducer2 on 5/13/16, 5:32 PM

    Maintainability would be the biggest benefit. The first question I would ask is why do u feel ur existing design is no longer suitable?