Unpopular opinion: most marketing sites don't need a JavaScript framework
A landing page, a pricing page, a blog and a contact form. That's most company websites. Yet a lot of them ship a full client-side app just to render text and images.
Plain HTML, a bit of CSS and a sprinkle of JS for the mobile menu would load faster and be easier to maintain.
I'm not against frameworks for actual apps. But am I missing a good reason people reach for them on simple sites?
Comments · 3
Mostly team habits and hiring. Plenty of devs know React and nothing else, plus a CMS or component library gets bolted on. Static site generators are a nice middle ground, though.
The business reason is usually that marketing wants to edit pages without a developer. If plain HTML means a dev ticket for every typo, a framework or CMS wins.
From the design side, page speed is a design feature. A lightweight site with good type and spacing beats a heavy one with animations nobody asked for.