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.

Untrusted Impersonation of the Project at Simplescreenrecorder.com

https://github.com/MaartenBaert/ssr/issues/1086
1•notpachet•3m ago•0 comments

Vinod Khosla: We will need a new tax code for the wealth AI creates

https://www.ft.com/content/b277360e-bf23-4366-afd7-acab940f66b7
1•marojejian•4m ago•1 comments

NeuroMemor –- open source Python AI

https://github.com/erabytse/NeuroMemor
1•takouzlo•4m ago•0 comments

Show HN: Single Access Memory – Write in Markdown, read once, watch it dissolve

https://single-access-memory.onrender.com/
1•AnonymousThree•5m ago•0 comments

The Download: soccer's data Renaissance and China's big nuclear plans

https://www.technologyreview.com/2026/06/11/1138809/the-download-soccer-football-data-analytics-c...
1•joozio•5m ago•0 comments

Degree apprenticeships in engineering, do they exist?

1•adamofeden•6m ago•0 comments

What Is a Vertical Tab?

https://stackoverflow.com/questions/3380538/what-is-a-vertical-tab
2•basilikum•7m ago•0 comments

The First Taste Is Free

https://atlasprimeai.substack.com/p/the-first-taste-is-free
1•atlasprimeai•10m ago•0 comments

Homebrew CPU

https://www.homebrewcpu.com/
3•hggh•12m ago•0 comments

Secure Self-Hosted Infrastructure

https://app.localmail.uk/
1•peter_retief•13m ago•0 comments

Fable 5 Ported the Ladybird Browser to WebAssembly in One Shot and It Cost $552

https://twitter.com/HeyPuter/status/2065114471589089729
3•ent101•13m ago•1 comments

Ultimatum: Warrant Requirement or Bust

https://www.eff.org/deeplinks/2026/06/702-ultimatum-warrant-requirement-or-bust
1•Brajeshwar•14m ago•0 comments

CCTV – See which Claude Code agent needs you, from the menu bar

https://github.com/manelrv/CCTV
1•manelrv•15m ago•0 comments

Meta Deletes Face-Recognition System from Its Smart Glasses App

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
1•ameypandey•17m ago•0 comments

Visa Vulnerability Agentic Harness for Project Glasswing

https://github.com/visa/visa-vulnerability-agentic-harness
1•guessmyname•17m ago•0 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
1•hollylawly•18m ago•0 comments

Show HN: Not Another Vibe-Coded YouTube Playlist Creator

https://skipvids.com/generateplaylist
1•01jonny01•18m ago•0 comments

AI is eating your moat

https://josepvidal.dev/blog/ai-is-eating-your-moat
2•jvidalv•21m ago•2 comments

Axross – multiprotocol and30 Qt filemanager for Linux

https://pypi.org/project/axross/
1•dash0r•21m ago•1 comments

Making a better Social Media

https://amrshawky.com/posts/making-a-better-social-media/
1•amr_shawky•21m ago•0 comments

El Niño forms in Pacific as experts say it will likely turbocharge extreme wx

https://www.theguardian.com/us-news/2026/jun/11/el-nino-forms-historic-strength
4•howard941•22m ago•0 comments

An Agent Holds the Fort: Three Days of Autonomous Compiler Work

https://rue-lang.dev/blog/an-agent-holds-the-fort/
1•pekim•23m ago•0 comments

Which AI prototyping tools can export a self-contained HTML file?

https://productnow.ai/blogs/extracting-html-from-ai-prototyping-tools
1•kadhirvelm•24m ago•1 comments

Show HN: AgentStore – a self-hosted datastore for AI agent teams

https://github.com/guyweissman/agentstore
1•guyweiss•26m ago•0 comments

Dealership revoked offer to buy back customer's BMW, blaming wayward AI chatbot

https://www.cbc.ca/news/business/ai-chatbot-bmw-dealership-9.7230226
5•cf100clunk•27m ago•2 comments

Galaxy-killing wind discovered in the early universe

https://ras.ac.uk/news-and-press/research-highlights/galaxy-killing-wind-discovered-early-universe
3•layer8•29m ago•0 comments

The Unbundling and Bundling of the PaaS Market

https://redmonk.com/sogrady/2026/06/10/paas-unbundling/
2•RyeCombinator•29m ago•0 comments

Robotaxis almost happened in 1964–with help from the U.S. government

https://www.popsci.com/technology/robotaxis-personal-rapid-transit-history/
3•Vaslo•29m ago•0 comments

How HN: I gave Claude live Intel on 3k AI companies (mentions, funding)

https://github.com/altmbr/teahose-mcp
2•altmbr•30m ago•0 comments

Ona Is Joining OpenAI

https://ona.com/stories/ona-joins-openai
8•ilreb•30m ago•0 comments