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.

Start Weekend AI Roasting Your Loved Ones with free-AI-tools-hub.com

1•horitechsolutio•1m ago•0 comments

Wachenröder

https://en.wikipedia.org/wiki/Wachenr%C3%B6der
1•tosh•5m ago•0 comments

Two Words for Truth?

https://languagelog.ldc.upenn.edu/nll/?p=29814
2•jruohonen•7m ago•0 comments

The Falling Man (2021)

https://www.esquire.com/news-politics/a48031/the-falling-man-tom-junod/
1•tosh•7m ago•0 comments

Ask HN: For Enterprise coding agents, what's your company doing to control cost?

1•m0rde•8m ago•0 comments

Faking Synthetic Control Estimates

https://andrewpwheeler.com/2026/09/12/faking-synthetic-control-estimates/
1•apwheele•8m ago•0 comments

Show HN: A C Compiler written with help of Claude

https://github.com/Javier-Barrio/myCC/tree/main
2•int0x80•10m ago•0 comments

The Wealth Inequality Problem, in a Video Game

https://www.youtube.com/watch?v=utLVrwaNH9Q
1•inm•12m ago•0 comments

Swiss trial for 2017 avalanche deaths unsettles hazard researchers

https://www.science.org/content/article/swiss-trial-2017-avalanche-deaths-unsettles-hazard-resear...
1•Brajeshwar•13m ago•0 comments

Show HN: Deviant, a feature-length sci-fi thriller about AI, made with AI

https://deviantmovie.com/
1•johnpolacek•14m ago•0 comments

Conway's Law Is Dead. Or Is It?

https://domenkozar.com/2026/09/12/conways-law-is-dead-or-is-it/
1•domenkozar•15m ago•0 comments

Memories of how you heard about 9/11 may well be wrong

https://theconversation.com/your-memories-of-how-you-heard-about-9-11-may-well-be-wrong-weve-been...
2•GlibMonkeyDeath•17m ago•1 comments

Compressing a Flag to 11 Bits

https://read.vantezzen.io/miniflags
1•bennett_dev•18m ago•0 comments

Agent Scan Skill Inspector

https://labs.snyk.io/experiments/skill-scan/
3•taubek•19m ago•0 comments

Inexpressible States: The History and Usage of Algebraic Data Types

https://www.makonea.com/en-US/blog/inexpressible-states-the-history-and-usage-of-algebraic-data-t...
1•jdw64•19m ago•0 comments

The Ritz-Carlton purge, a $1.3B demand and nine years trapped in Saudi Arabia

https://www.ft.com/content/50f38214-3a0a-4d6f-9838-c93611d21a0c
2•JumpCrisscross•22m ago•0 comments

Who Should Buy Snap Inc?

https://www.s-1.site/s/snap-inc-pivot-to-subscriptions.html
2•anthonybourdain•25m ago•1 comments

Microcode in Intel's 8087 floating-point chip: the scale instruction

https://www.righto.com/2026/09/8087-microcode-reverse-engineering-fscale.html
4•pwg•26m ago•1 comments

I Just Joined Bros

2•trony_tasx•26m ago•0 comments

Show HN: Dry Diving Club – A darkly comic browser game

https://drydiving.club/
2•crapthings•27m ago•0 comments

HBM System Architecture: Thermal, Signal Integrity, and Reliability Limits

https://www.siliconcodesign.com/p/the-system-architecture-of-hbm-how
2•yarapavan•29m ago•0 comments

Show HN:TurboBench: Data Compression Benchmark. The Compression Lie Detector

https://github.com/powturbo/TurboBench
2•powturbo•29m ago•1 comments

Orcrist: A Coding Agent using LLM state machines

https://github.com/simone20a/Orcrist
1•simone20a•30m ago•0 comments

Show HN: MCP that gives Codex/Claude your SEO and AI visibility data

https://bloomiro.com/mcp
4•johnbuildss•31m ago•0 comments

Lessons I learned as a software engineer

https://www.thetrueengineer.com/p/10-lessons-from-the-journey-what
3•adletbalzhanov•33m ago•2 comments

A Misalignment of AI and Cancer Biology

https://twitter.com/mbeisen/status/2098582265190351334
1•harporoeder•33m ago•1 comments

Ask HN: Can we do a karma reset?

5•HNKarmaReset•34m ago•4 comments

Cities like Raleigh finish construction before e.g. San Francisco approves them

https://twitter.com/esoltas/status/2098162675989565925
1•JumpCrisscross•36m ago•0 comments

The Unravelling of the American Age Is Accelerating

https://phillipspobrien.substack.com/p/the-unravelling-of-the-american-age
5•JumpCrisscross•37m ago•0 comments

Show HN: OpenVurp – An open-source alternative to Grok Bot

https://github.com/openvurp/openvurp
1•vforno•37m ago•1 comments