News for hackers. Stuff that matters.
Re:I fell in love with low-JS by vmception on Wednesday May 04, 2022 @07:00PM (#31266970)
If you want to work for someone else, React is the thing you have to do and have prior, validated, experience in. The only employers not using React but other SPAs (Angular) are the “I want to be cool too” companies pretending to be in the tech sector.

All major SPA’s have had convergent evolution towards the same optimizations implemented in the same ways with similar syntax as well.

If one briefly had an advantage on package size, thats gone now.

If one briefly had an advantage in a DOM manipulation technique, thats gone now.

And thats that

Re:I fell in love with low-JS by andai on Wednesday May 04, 2022 @08:53PM (#31267993)
Re:I fell in love with low-JS by vmception on Wednesday May 04, 2022 @09:03PM (#31268089)
that makes me smile

and I'll have to shift the goalpost toward what I actually think, which is the reality where the theoretical performance of optimizations is undermined by the 100 megabyte analytics package that your users are going to have to load anyway

so while we all played around with page scores to optimize how fast things load to theoretically reduce strain on the server or have less users that bounce, its just so far divorced from the user experience because we'll wind up putting so much extra stuff on our pages anyway

Re:I fell in love with low-JS by andai on Thursday May 05, 2022 @03:32AM (#31270609)
For most applications on most consumer devices, benchmarks comparing the time it takes to update thousands of rows are not really relevant, other considerations will have a stronger impact.

However, the lighter frameworks (where most of the work is done at compile-time and the result is highly optimized vanilla JS) really shine in specialized usecases like underpowered embedded devices, where the more popular frameworks introduce too much latency (>0.5s) for a smooth user experience.[0]

[0] - https://twitter.com/sveltejs/status/1088500539640418304

(That being said, it is kind of hilarious to me the world we live in where we're running an entire web browser on an embedded device just so we can use JavaScript to program it.)

Re:I fell in love with low-JS by darepublic on Wednesday May 04, 2022 @10:46PM (#31268773)
I won't. And for analytics I will proxy via my server
Re:I fell in love with low-JS by Zababa on Thursday May 05, 2022 @11:33AM (#31274660)
> The only employers not using React but other SPAs (Angular) are the “I want to be cool too” companies pretending to be in the tech sector.

I guess that depends on where you are. Here in France Angular usually indicates companies that are a bit more "enterprise" and a bit less "startup". It will often go with a backend in Java or C#. On the other hand, React users tend to have their backend in Python, JS or Ruby. This is not a hard rule of course, but Angular is more like the opposite of cool.

Re:I fell in love with low-JS by zozbot234 on Wednesday May 04, 2022 @08:51PM (#31267973)
> All major SPA’s have had convergent evolution towards the same optimizations ... If one briefly had an advantage ... thats gone now.

There's quite some room for disagreement wrt. this claim, depending on what exactly counts as "major" at any given time.

Re:I fell in love with low-JS by vmception on Wednesday May 04, 2022 @08:59PM (#31268052)
Okay, what about when comparing React, Vue and Angular
Re:I fell in love with low-JS by drcongo on Thursday May 05, 2022 @09:31AM (#31273069)
I'm a CTO and I mark resumés down for having React on them. If you fell for that, what other rubbish are you going to fall for?
Re:I fell in love with low-JS by sph on Thursday May 05, 2022 @10:17AM (#31273657)
That's the dumbest thing I've ever heard. You sound like a really inexperienced engineer, let alone CTO, that has never seen technology trends come and go, and sometimes you bet on the wrong horse.

I'd rather hire an junior React developer than someone with such hubris.

Re:I fell in love with low-JS by Existenceblinks on Thursday May 05, 2022 @12:05PM (#31275105)
Really funny seeing you got downvoted. Not surprising. People can't get alternative opinion is ridiculous.
Re:I fell in love with low-JS by brimble on Thursday May 05, 2022 @03:11PM (#31277315)
The downvotes are because it's so incredibly stupid that one must hope it is a trolling attempt, or intended as a deadpan joke of some kind.
Re:I fell in love with low-JS by tmstieff on Thursday May 05, 2022 @09:49AM (#31273310)
This seems like an outrageous statement on its face. They probably have React on their resume because that is where the job market has drifted. No one is getting hired these days, even at old-school Fortune 500 type companies, for listing "Java-Server-Pages" or "Jinja SSR templates" on their resume for a frontend position.
Re:I fell in love with low-JS by nescioquid on Thursday May 05, 2022 @06:41PM (#31279187)
That was my initial reaction too. Then I realized that every web UI re-write I've seen was lead by developer evangelism, never by management. Developers update their resumes and HR updates hiring reqs accordingly.

This makes it harder to see this as something other than a developer-inflicted problem but for the fact that there are probably three groups of developers affected by this:

a) true-believer evangelists

b) resume-builders

c) innocent bystanders

There's no way to tell from the presence of "Framework X" on a resume where the developer falls between bystander and evangelist. Probably the CTO's point is that they do not like "Framework X", and cases of c) lack judgement and decisiveness for putting up with it?!

Anyway, funny to think about, especially in comparison to the playbook for changing the back-end frameworks.

Re:I fell in love with low-JS by vmception on Thursday May 05, 2022 @12:30PM (#31275442)
You need some oversight on your candidate evaluation practices, for the sake of that organization.

Very few of your frontend candidates will be privileged enough to optimize for what you think is relevant. They exchange time for money, you know? Or do you know that.

Re:I fell in love with low-JS by neobutold on Thursday May 05, 2022 @10:11AM (#31273580)
What is your tech stack?