Forem

λ • Geovani de Souza
λ • Geovani de Souza

Posted on

2 1

Why to migrate from AngularJS to Angular?

There's tons of posts out there explaining "how", but not so much justifying "why" beyond the "oh, it's new, it's cool, just move on".

Consider existing projects, much of them medium to large in size and importance. The investment was already done. There's so much tooling and solid project standards that has evolved though time, just like the community around.

They deliver value to users that don't know what's AngularJS nor Angular, React or whatever.

So, beyond the "it's cool" hype, why should we consider migrate existing AngularJS projects to Angular (or anything else)?

Top comments (4)

Collapse
 
tsuzukayama profile image
Tiago Suzukayama

Performance wise, Angular 2 seems to be a lot better than AngularJS. This article shines a light onto the peformance issues that AngularJS has: auth0.com/blog/more-benchmarks-vir...

My personal opinion is that I prefer the way Angular 2 is structured, and I prefer Typescript, also.

Collapse
 
geovanisouza92 profile image
λ • Geovani de Souza

It's a good article, but I ask you: Does it matter if one car goes 99mph and another goes 102mph when the street's limit it's 45mph?

Putting in User's perspective: is it relevant if one framework renders in 50 ms while another renders in 35 ms, when User doesn't perceive it?

Collapse
 
tsuzukayama profile image
Tiago Suzukayama

From the standard user perspective, with good/fast network, maybe it won't really matter. But with people with bad connections, it can make quite a difference. I live in South America, so internet connection here is quite bad. Again, my personal opinion, after working with both, I find Angular 2/4 quite faster than JS on slow connections.

Collapse
 
mangekalpesh profile image
Kalpesh Mange

We're in the same fix!

typescript

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay