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.

LogiGate: A zero-trust middleware architecture for AI liability written in Rust

https://github.com/Les-Senters/Logigate-architecture
1•zkpvault•56s ago•0 comments

California wealth tax fight moves to voters

https://www.politico.com/news/2026/06/25/california-wealth-tax-billionaires-ballot-00977427
1•shinryudbz•3m ago•0 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
1•cuchoi•11m ago•0 comments

Sochely – An SEO-first platform for creating and discovering local events

https://sochely.com/
1•godimittry90•12m ago•0 comments

Notion is shutting down its email client one year after launch

https://www.neowin.net/news/notion-is-shutting-down-its-email-client-one-year-after-launch/
2•bundie•14m ago•1 comments

Iraq warns it might leave OPEC if oil quota not raised

https://www.reuters.com/business/energy/iraq-consider-all-options-if-opec-quota-is-not-raised-has...
2•JumpCrisscross•15m ago•1 comments

Musk ordered to testify in election lottery cases; one lawsuit may be narrowed

https://www.reuters.com/legal/government/elon-musk-ordered-testify-election-lottery-cases-one-law...
2•JumpCrisscross•16m ago•0 comments

Competition intensifies for Anthropic and OpenAI ahead of IPOs

https://www.ft.com/content/8c02de04-5516-405b-941d-289e586d8eb8
1•JumpCrisscross•16m ago•0 comments

Phases of Ice

https://en.wikipedia.org/wiki/Phases_of_ice
2•thunderbong•28m ago•0 comments

White House asks OpenAI to limit its next model release

https://www.cnn.com/2026/06/25/tech/openai-limit-release-white-house
3•AaronO•29m ago•1 comments

Hallucination in World Models Is Predictable and Preventable

https://www.nicklashansen.com/mmbench2/
1•ilreb•29m ago•0 comments

Honesty gets Emacs patch rejected

https://xlii.space/eng/honesty-gets-emacs-patch-rejected/
1•signa11•31m ago•0 comments

Guardrails for offensive AI agents and why instructions are never enough

https://dest.host/b/guardrails-for-offensive-ai-agents/
1•snorbleck•33m ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•RickJWagner•35m ago•0 comments

Vanguard on Demand: Kernel Level Cheating (Prevention)

https://www.riotgames.com/en/news/vanguard-on-demand
1•internet-390•39m ago•1 comments

Offline Access and Authentication

https://fusionauth.io/community/forum/topic/3129/offline-access-authentication
1•mooreds•41m ago•0 comments

My Argument Against Self-Care

https://www.shirahaddad.com/writing/no-to-self-care
2•mooreds•42m ago•0 comments

Why Problem Statements Aren't Enough

https://letters.unchartedpathbreakthroughs.com/posts/why-problem-statements-arent-enough
1•mooreds•42m ago•0 comments

Local-first AI coding assistant for IntelliJ-based IDEs (paid)

https://plugins.jetbrains.com/plugin/31304-llamatik-code/
3•oogali•44m ago•0 comments

Why the Slate Truck Only Costs $25K

https://www.edmunds.com/car-news/2027-slate-truck-price-explained.html
4•RickJWagner•53m ago•1 comments

A Declaration of the Independence of Cyberspace (1996)

https://www.eff.org/cyberspace-independence
1•petermcneeley•55m ago•0 comments

Show HN: Bikepacking Planner

https://www.theinstant.cc/pack
3•Gshaheen•55m ago•0 comments

A data race that doesn't compile

https://corentin-core.github.io/posts/ruxe-type-level-disjointness/
14•stmw•1h ago•4 comments

Xbox follows Apple with price increases

https://techcrunch.com/2026/06/25/xbox-follows-apple-with-price-increases/
3•DR_MING•1h ago•0 comments

Rust Foundation Welcomes OpenAI as Platinum Member

https://rustfoundation.org/media/rust-foundation-welcomes-openai-as-platinum-member-announces-don...
2•stmw•1h ago•0 comments

Are Your Local Police Using Flock Safety ALPRs to Scan for Immigrants?

https://www.eff.org/deeplinks/2026/06/are-your-local-police-using-flock-safety-alprs-scan-immigrants
8•jhonovich•1h ago•0 comments

46mi/day: Free power from the sun in an Aptera

https://aptera.us/solar-data/
3•TeaVMFan•1h ago•3 comments

The Handcrafted Life of Dick Proenneke

https://lostartpress.com/products/the-handcrafted-life-of-dick-proenneke
3•mitchbob•1h ago•0 comments

AI is reshaping work. A new group aims to help people adapt and thrive

https://apnews.com/article/ai-job-losses-education-training-929986c149d415cd2ef4dc3eaf66ca8c
5•billybuckwheat•1h ago•0 comments

Small satellite operators confront a bottleneck to space access

https://spacenews.com/small-satellite-operators-confront-a-bottleneck-to-space-access/
7•d_silin•1h ago•0 comments