DEV Community

Discussion on: Angular struggles in 2020

 
chandlerbaskins profile image
Chandler Baskins

Exactly my reasons. It's the wild west. I feel safe in Angular and when I pull up a repo I have a good idea how it's going to be laid out. I don't think I'd go back to React. Listening to the podcast on the Angular show made me feel better. I think there will be some changes.

Thread Thread
 
cryptoquick profile image
Distributed Hunter Trujillo

I see your point, and I think it has some validity, but in practice, I'd never seen a React project that surprised me by its novelty.

One could argue that the lack of a prescriptive folder structure, standardized routing scheme, and a styles stack everyone uses, has hurt React. I'd actually argue the opposite. The diversity of thought and inclusiveness of ideas based on their merit is better than leaving thousands of pull requests hanging.

I think the diversity of thought and idea inclusiveness has served React well in that, if you're not happy with something, pull something else in. And with basic tooling and testing, such as TypeScript, ESLint, Jest, and Cypress, these refactors tend to go well.

One could also argue, React has taken the Unix philosophy and applied it to the web. Do one thing, and do it well. Sure, it could be said that React didn't do things well in the past, but also, we once wrote websites in jQuery and Backbone, so, tech gets better all the time.

I've refactored projects with hundreds of thousands of lines of React code alone, for Fortune 500 companies, and our tooling improvements alone resulted in a dramatic increase in developer productivity, but that's just been my experience.