What advantages does Angular 4 have over Angularjs 1.6?

Asked

Viewed 308 times

2

I work with Angularjs 1.6 and I am studying angular4, I know that as all language and technology goes constantly through a process of evolution, but this change that the angular had is recommended for all angular projects?

1 answer

4


Angular 2/4 is completely different from Angularjs, Agular 4 is component oriented and is completely modularized facilitating isolated changes only where you want, if you want to change the login Voce can edit only the login , Angular 4 was made with everything new in the market it uses ECS05, ECS06, typescript, an Angular-cli package manager (like the java Maven) , the way Angular 4 controls its directives not polluting so much the DOM makes it perform better than its first version.

However Angular-2 needs Node.js to work it needs to be put all its library and not but a link in the head as it was before the learning curve of Angularjs is much smaller and it contains some more files that were taken from angular 2 by the team of development on the basis of performance .

Angular-2 route control is simpler and more robust with routes, daughter routes and route guards.

Answering your question- it is highly recommended that it be updated to the new version if you think from the standpoint unico performace yes , should be updated however it will be much of if it will actually ultilizar all the new things that were released in its new version because upgrading by atulizar would not be worth the cost of implementation and code refatoracao

Browser other questions tagged

You are not signed in. Login or sign up in order to post.