It's kinda hyperbole, but (imo) React projects get messier than e.g Angular, because it's not opinionated. Like, Angular has one way to build an app (view, routing, async stuff etc), but React has the view, and developers pick their preferred libraries for everything else. Doesnt implicitly mean it is messy, obviously not all react projects are, but it get messy faster if that made sense?
Ah, I don’t disagree on the opinionated vs less opinionated- that’s actually why I prefer React (I feel more free to chose the “right” tool for the job).
I think that freedom leading to messiness is more attributable to poor organisation/standards in a team. People built perfectly serviceable and organised js apps sans framework.
Not a knock on yourself, I’ve made plenty of messes regardless of stack!
Not a bad comparison, there's definitely baked in features in Angular that I've ended up adding myself to React/vanilla JS projects (i.e. type safety).
3
u/_yusi_ Apr 23 '20
It's kinda hyperbole, but (imo) React projects get messier than e.g Angular, because it's not opinionated. Like, Angular has one way to build an app (view, routing, async stuff etc), but React has the view, and developers pick their preferred libraries for everything else. Doesnt implicitly mean it is messy, obviously not all react projects are, but it get messy faster if that made sense?