Re:Ask HN: Benefits of front-end JavaScript frameworks?
by nathan_long on Thursday March 08, 2018 @04:06PM
(#16547629)
> But there still is a little bit of server load, whereas front-end has 0.
That's true. OTOH, using a front-end framework has downsides, too. You have another framework involved, a big pile of JS that must be downloaded, more build tools, maybe you need to render server-side anyway for first page load...
> I'm not really sure how much of a savings we're talking about here (server side vs. client side rendering)
Yeah, me either. I think "what's the easiest way to get & maintain the desired user experience?" is probably the best question.
Re:Ask HN: Benefits of front-end JavaScript frameworks?
by ccachor on Thursday March 08, 2018 @04:47PM
(#16547933)
Well, Angular has a very heavy initialization penalty, enough that I know of a few companies that ditched it for React. I'll also add, as your front-end becomes more complex and uses a number of different libraries, the bundle becomes huge. There's ways around this of course, but some of pure JS stuff can get ugly quick.
Honestly, unless you're serving billions of pageviews on a very tight budget, I'm not really sure how much of a savings we're talking about here (server side vs. client side rendering).