News for hackers. Stuff that matters.
Re:Breaking up with JavaScript front ends by jiggawatts on Sunday December 11, 2022 @01:01AM (#33940531)
Precisely. There was someone here bemoaning how difficult it was to follow generic advice of using profilers to optimise hotspots in the application code.

He started off with something like: "Why don't you try your 'simple' techniques in a tangled web of hundreds of microservices written in different languages and running on different platforms?"

It's like some people can't see the forest for the trees.

In the last few years, I've come across about half a dozen existing web sites with hideous performance problems, all of which should have been vanilla HTML but were written as Angular monstrosities. The same teams -- against repeated advice -- have started new Angular projects for sites showing static data, anonymously, to the general public.

They start off conversations with "We'll need a web app, an API app, a mid-tier, a service bus, and then this, and then that..."

It's madness.

Re:Breaking up with JavaScript front ends by danielvaughn on Sunday December 11, 2022 @03:41AM (#33941406)
Choosing a framework for that is bad enough, but you could make the case depending on how complex the rendering is. Still…to go with Angular sounds like the literal worst choice. Like at least React is just a UI library and can just be used server side.
Re:Breaking up with JavaScript front ends by belmont_sup on Tuesday December 13, 2022 @07:55AM (#33968228)
That group there…really liked to waste time.