DEV Community

From Angular to React

Jesse M. Holmes on August 24, 2018

I've spent the past three years growing up with Angular and TypeScript. I've never worked with a language that saw so many changes in a year, from ...
Collapse
 
seraphicrav profile image
Ravaka Razafimanantsoa • Edited

I migrated from Angular to React last year. Feels different, when everything was provided with Angular, I feel like having too much freedom with React (and too much choice in the libraries). On the other hand, the event loops seem easier to understand with React.

I am now using React+Redux+TypeScript on the projects I make. TypeScript seemed to be quite bleeding edge with React but things seems fine now though. Putting types everywhere helps me to keep control of what I am doing and avoid dumb errors.

Collapse
 
stargator profile image
Stargator

I feel like having too much freedom with React (and too much choice in the libraries)

Was that intended to be a bad thing? It sounds like you are stating a preference.

Collapse
 
yhippa profile image
Richard Yhip

I'm more of a back-end Java developer but the problem with too much choice is having to research everything every time you want to do something to make sure it's the best. Not necessarily a bad problem but it can slow things down as opposed to there being One True Way to do something.

Collapse
 
seraphicrav profile image
Ravaka Razafimanantsoa

It seems nice, but you have to compare the libraries to find the "good" one, that eats too much time

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

I also started with Angular a little before it changed to Angular 2 and then kept changing. For me it was not natural at all and I felt doing things in a language I couldn't understand (wasn't mad about TypeScript tho).

This year I started dabbling into React and then took a deep dive with a Bootcamp I took, but this time it felt different. It felt more straight forward and since I got a liking for ES6, making things with React felt more comfortable.

The PropTypes and defaultProps are for sure something really neat that I haven't seen before so yeah, I'm enjoying quite my time doing things with React like I haven't done before with anything else.