Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The old react docs used to quip that react was the v of mvc, until this notion was scraped entirely

I'm still treating React as the "V of MVC", other things handled by other things, and seems I'm not alone with this.

I think at one point React got so popular, and the team grew, so they figured they need to expand the scope for it to continue growing, and Facebook continued to throw resources at it, and as we know, things that don't change are clearly dead (sarcasm), so APIs changed, the scope grew and eventually they stopped marketing it as the view-layer, and instead push it as a full thing, when it still clearly was just a view library, not a framework.





I am also using React as the "V in MVC". It is the most sensible way to use React. I also only use class components. My code is way simpler than React code these days. The only React concepts I need are props, state, and the lifecycle methods.

React was originally designed to be the "V in MVC". What happened then is the community took it in a different direction: specifically ReactRouter.


But if you advocate for this now, newer engineers think you’re doing it wrong.

It's really a company/team culture thing. Either you end up grouped together with people who always chase the latest fads and cargocult their way to their promotions, or you end up with the "Justify everything" camp where anything new is shit on.

Ideally, you end up in a company/team that sits somewhere in the middle, faithfully evaluating the trade-offs of everything, and don't spend 60% of their time reading the latest news from blogs and social media.


Right. Anything other than the most popular way of doing things is "wrong" to them. That's how mistakes get established. This non-questioning attitude seems especially true among frontend developers.

Influencer marketing is a big part of the problem here.

The best practices engineering influencers shill are geared towards shipping a todo list quickly, and no thought is given towards maintainability.


To be fair, though, through their eyes everything looks like a nail.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: