frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The Business Case for Vanilla JavaScript

https://lewiscampbell.tech/blog/250430.html
6•LAC-Tech•1y ago

Comments

copypaper•1y ago
I would personally never touch a frontend not written with a framework. Sounds like a terrible developer experience--especially with a team. But from reading your article, it sounds like your issue is with React itself. I would recommend you try Svelte, it sounds like what you're looking for. It's as close to vanilla js as you can get with all the benefits of a framework.
LAC-Tech•1y ago
What benefits of a framework?

I think that's why I wrote this - I almost completely fail to see them.

proc0•1y ago
I think React caved in to wider adoption pressure to introduce abstractions that are intuitive on the surface level but are costly in terms of large scale complexity.

> It's "declarative" right up until you're debugging stateful hooks, or resorting to useRef, or trying to reason about when a "component" re-renders

Maybe they should have modularized the core library more and have these things be separate, because the core idea of a uniflow pattern with reactivity is good.

I think what happened, at least in frontend, is that the industry pushed away from having engineers do any design or architecting on the frontend. All of these high level patterns have been "outsourced" to frameworks, and the result usually is something that has trouble scaling and adjusting to whatever domain it's in.

LAC-Tech•1y ago
Maybe they should have modularized the core library more and have these things be separate, because the core idea of a uniflow pattern with reactivity is good.

That's what SolidJS does. IE the signal implementation is completely stand alone. I feel like it's better at doing what react purports to do then react is.

* think what happened, at least in frontend, is that the industry pushed away from having engineers do any design or architecting on the frontend. All of these high level patterns have been "outsourced" to frameworks*

I don't think react patterns are particularly high level, or do they save you from architecture. Whether it's vanilla JS or react, you still have to design.

proc0•1y ago
Oh I haven't looked at Solidjs yet, interesting will take a look. And yeah you may still need to design your application, but having hooks be something that is out-of-the-box pushes you into certain patterns and needs to be actively ignored to avoid its design influence. I've worked in large codebases where they make almost everything into hooks, and they start getting ridiculous, breaking composability but at the same time giving the illusion that you are making your code more modular.
GianFabien•1y ago
I write web front-ends for industrial embedded systems. So my experience might differ from business WebApps.

In my experience it requires a longer learning curve for the various frameworks than to simply learn the relevant Web API. My learning is very much JIT and over time I have built up a robust class library that gets my stuff done. When I get stuck ChatGPT suggests fixes that sometimes work and spare me from losing more hair.

LAC-Tech•1y ago
My experience too - part of what I found is how much about how react worked I'd forgotten. But the browser itself was easier to pick up.

Prettier: An Opinionated Code Formatter

https://prettier.io/
1•doener•53s ago•0 comments

Thoughts on Zero Breach Repo?

https://github.com/interplains/zero-breach
1•insaider•1m ago•0 comments

Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval

https://arxiv.org/abs/2611.04169
1•liusci•3m ago•0 comments

Democratic Congress could test decades of US support for Israel

https://www.reuters.com/world/us/democratic-congress-could-test-decades-us-support-israel-2026-11...
2•grugagag•3m ago•0 comments

Advancing the Quality-Efficiency Frontier for Coding AI on Windows PCs

https://devblogs.microsoft.com/foundry-on-windows/coding-ai-on-windows-pcs-quality-efficiency/
1•doomroot13•4m ago•0 comments

Reverse Engineering a Children's Camera and Making It Run Doom

https://spodesabode.com/articles/reverse-engineering-a-childrens-camera/
1•speckx•5m ago•0 comments

Anti-Oligarchy Activists Plan to Dox Elon Musk and Other Billionaires

https://www.wired.com/story/anti-oligarchy-activists-plan-to-dox-elon-musk-and-hundreds-of-billio...
1•primogen•5m ago•0 comments

A Decade of Kill Bugs

https://alangrow.com/blog/a-decade-of-kill-bugs
1•birdculture•8m ago•0 comments

Paul Graham on why the Republicans lost the election

https://twitter.com/paulg/status/2118041310699352558
2•newspaper1•9m ago•0 comments

Security Incident Post Mortem

https://www.gitbook.com/status/security-incident-2026-11-03
1•themgt•9m ago•0 comments

Apple Is Putting Employees on an AI Budget

https://www.macrumors.com/2026/11/04/apple-reducing-employee-ai-spending/
2•tosh•9m ago•2 comments

Bruno: The Git-native API client

https://www.usebruno.com
2•blue_green_maps•11m ago•0 comments

Show HN: Review patch/diff files as VS Code diffs with on-demand loading

https://marketplace.visualstudio.com/items?itemName=mehmetoguzderin.patch-diff-review
1•mehmetoguzderin•11m ago•0 comments

AI's Building Boom Meets a Blue Wave. 'Neocloud' Stocks Fall

https://www.investors.com/news/technology/coreweave-nebius-slide-as-blue-wave-clouds-ai-boom/
1•angry_impala•12m ago•0 comments

Berkshire Hathaway invests further $330M in Bending Spoons

https://investors.bendingspoons.com/newsroom/berkshire-hathaway-invests-further-in-bending-spoons
1•u1hcw9nx•12m ago•0 comments

Everything is an AI scam now

https://www.davidralphlewis.co.uk/posts/everything-is-an-ai-scam-now/
4•speckx•12m ago•0 comments

CoreWeave Bonds Hit New Lows as Texas Data Centers in Crosshairs

https://news.bloomberglaw.com/bankruptcy-law/coreweave-bonds-hit-new-lows-as-texas-data-centers-i...
2•angry_impala•13m ago•0 comments

Show HN: Mastodon desktop client, made with Claude, using Rust and GTK4

https://github.com/aisloperator/fedigoo
1•aisloperator•14m ago•0 comments

DoorDash's $17B Acquisition of Instacart Points to a World Without Employees

https://www.thebignewsletter.com/p/a-world-without-employees-why-doordash
2•PaulHoule•15m ago•0 comments

Science Is Drowning in AI Slop

https://www.theatlantic.com/science/2026/01/ai-slop-science-publishing/685704/
2•pretext•15m ago•1 comments

How Figma manages sandboxes at scale

https://www.figma.com/blog/how-figma-manages-sandboxes-at-scale/
2•com6056•17m ago•0 comments

In Praise of Japan's Failure to Keep Up

https://www.noemamag.com/in-praise-of-japans-failure-to-keep-up/
1•littlexsparkee•18m ago•0 comments

Researcher accuses Anthropic of stealing his work

https://twitter.com/frostedxyz/status/2117751149398765916
3•pretext•18m ago•0 comments

Show HN: Mdview Desktop – light, fast and feature-rich Markdown viewer (Windows)

https://mdview.io/desktop
1•Igor_Wiwi•19m ago•0 comments

Kernel.sh Hacked

https://www.kernel.sh/blog/public-notice-of-security-incident-nov-4-2026
1•pranshuchittora•19m ago•0 comments

Native Discord desktop client in Rust

https://twitter.com/svishnevskiy/status/2118081920194203799
3•mlex•19m ago•0 comments

Scientific Reports on hold in PubMed while NLM reevaluates journal

https://retractionwatch.com/2026/10/30/scientific-reports-pubmed-on-hold-national-library-medicin...
1•u1hcw9nx•20m ago•0 comments

Death Comes for XSLT

https://dbushell.com/2026/11/03/xslt-rip/
2•colejohnson66•20m ago•0 comments

Tjaz – create a quiz about anything

https://tjaz.com/
1•allanwebdrup•20m ago•0 comments

ConvertRank - Databacked Content Intelligence for SaaS Websites

https://beta.convertrank.com
2•atulhjindall•20m ago•1 comments