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.

Sex n Crime 01

https://c64mags.untergrund.net/wiki/index.php?title=Sex_n_Crime_01
1•jruohonen•2m ago•0 comments

Ask HN: Hello Landing Dispute – Furnished Apartments

1•mehdizare•3m ago•0 comments

The World's Real-Time Billionaires

https://www.forbes.com/real-time-billionaires/
1•mellosouls•4m ago•0 comments

4× RTX Pro 6000 Blackwell on Water, and the One Card That Wouldn't Behave

https://sabareesh.com/posts/blackwell-waterblock/
1•sabareesh•6m ago•1 comments

The decline of Google and rise of alternative searches as the source of traffic

https://stfn.pl/blog/101-decline-of-google/
1•speckx•8m ago•0 comments

The Impossible Journey to Get Apple Developer Accounts

https://www.dioko.ai/blog/the-impossible-journey-to-get-apple-developer-accounts
2•dioko•10m ago•0 comments

Indiana Pi Bill

https://en.wikipedia.org/wiki/Indiana_pi_bill
2•drdirk•12m ago•0 comments

There's Someone Squatting in My House and I Need Permission to Remove Them

https://substack.com/sign-in
2•Poppytam•13m ago•1 comments

chromium.woolyss.com is shutting down on August 31, 2026

https://chromium.woolyss.com/
3•ibradude•16m ago•1 comments

Two Years of OCaml

https://borretti.me/article/two-years-ocaml
2•tosh•18m ago•0 comments

We Can Live with AI, but Not Like This

https://atroxclarus499795.substack.com/p/we-can-live-with-ai-but-not-like
3•Poppytam•19m ago•0 comments

Meta: Setting to disconnect your off-Meta activity is going away

https://help.instagram.com/1690298141991062
5•saharshpruthi•19m ago•1 comments

Show HN: Flag Study – learn the flags behind the World Cup

https://www.flagstudy.com/
2•jsheffers•21m ago•0 comments

When The C/C++ Users Journal Disappeared

https://freshsources.com/blog/files/cpp-source.html
3•chuckallison•23m ago•0 comments

Service Bindings for Postgres: Per-App Roles and Grants

https://openrun.dev/blog/service-binding/
2•ajayvk•27m ago•1 comments

Apple Has Officially Stopped Caring About Purveying Accurate Information

https://buttondown.com/theinternet/archive/apple-has-officially-stopped-caring-about-accuracy/
7•speckx•31m ago•1 comments

Large etchings of numbers signaling opposition to Trump appear on National Mall

https://www.washingtonpost.com/style/2026/06/11/apparent-etchings-86-47-seen-trump-threat-spotted...
2•evan_•32m ago•1 comments

Keynesian Beauty Contest

https://en.wikipedia.org/wiki/Keynesian_beauty_contest
3•throw0101c•32m ago•1 comments

How pierre diffs codeviewer component works

https://twitter.com/backnotprop/status/2065479594023829619
2•ramoz•33m ago•2 comments

You cannot control the mind, and that is not the problem

https://pilgrima.ge/p/the-way-back-home-is-a-circle
6•momentmaker•34m ago•3 comments

The C-64 Scene Database

https://csdb.dk/
4•jruohonen•35m ago•0 comments

New technology developed could prevent 70M tonnes of milk waste each year

https://www.abc.net.au/news/2026-06-07/act-technology-prevent-70-million-tonnes-of-milk-waste-ann...
2•speckx•35m ago•0 comments

Determinate Secure Packages 26.05

https://determinate.systems/blog/determinate-secure-packages-26-05/
2•biggestlou•36m ago•0 comments

Ask HN: How to deal with agents constantly messing up padding/alignment in UIs?

2•ex-aws-dude•37m ago•0 comments

Ghostty-Blackhole

https://github.com/s0xDk/ghostty-blackhole
3•pama•38m ago•0 comments

The end of progress against extreme poverty?

https://ourworldindata.org/end-progress-extreme-poverty
8•Luc•39m ago•1 comments

Show HN: DR Lens – Ahrefs Domain Rating in Chrome Toolbar

https://chromewebstore.google.com/detail/dr-lens-—-domain-rating-i/babgbadloikchhadbpmcmhokbbco...
2•kka•40m ago•0 comments

I counted every "incredible" in 11 years of Apple WWDC keynotes

https://buzznote.io/apple-wwdc/
4•radekmika•40m ago•0 comments

Cortex – Agent-Native Knowledge OS on Markdown (Karpathy's LLM Wiki, via MCP)

https://github.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault
2•jiekepan•42m ago•0 comments

Making FlashAttention-4 faster for inference

https://modal.com/blog/flash-attention-4-faster
3•birdculture•42m ago•0 comments