What are the key strengths of front-end frameworks that set them apart and drive their popularity? With so many frameworks out there, what motivates their diversity? Also, for both large and small-scale projects, is it viable to forego front-end frameworks and rely solely on HTML, JS, and CSS? As a junior web dev, I'm curious because I haven't encountered scenarios where front-end frameworks were a clear necessity, but I'm open to insights from the experienced HN community!
lmiller1990|2 years ago
Another benefit of using a framework (especially a popular one) is it makes hiring / onboarding easier - a lot of candidates will already have experience with React / Vue / Angular.
bob1029|2 years ago
Yes, as long as you are willing to establish your own "framework" if you need to collaborate with others. I've personally found the trickiest part is keeping common HTML fragments and CSS standardized across the site. If you can get it down to a common Layout.html, Navigation.html and Site.css, you will probably be able to manage the complexity in a reasonably-sized team. If you need to edit one of these common files, convene a meeting. Everything else is an independent partial with its own HTML/CSS/JS.
The hardest part is learning how to do everything in direct terms. MDN is your bible for this mission.
idontwantthis|2 years ago
If you are building a website, then you probably don’t need one.
stocknoob|2 years ago
mcdonje|2 years ago
MV* is a good way to organize projects for teams. If you're doing a blog, personal site, or other project you don't expect to grow into something contributed to by multiple teams, the value proposition is different. Not saying frameworks or MVC are bad in that case, but they can become just another thing to worry about for a solo dev.
disadvantage|2 years ago
logicalmonster|2 years ago
[deleted]