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.

Yavc.App (Yet Another Vibe-Coded App)

https://yavc.app/
1•paulmooreparks•4m ago•0 comments

Leading AI models are biased against certain accents

https://www.washington.edu/news/2026/11/04/ai-models-are-biased-against-certain-accents/
1•giuliomagnifico•5m ago•0 comments

Sex in Britain has changed significantly, especially among young people

https://www.ucl.ac.uk/news/2026/nov/sex-britain-has-changed-significantly-especially-among-young-...
1•giuliomagnifico•8m ago•0 comments

AI Agents Livestream Their Assault on P=NP

https://pequalnp.com/pnp/live
1•extasetoi12•9m ago•0 comments

NOAA Found a Fish Sitting in a Brine Pool at the Bottom of the Gulf [video]

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

The Monumental Achievement of the Stanford Encyclopedia of Philosophy

https://www.newyorker.com/culture/annals-of-inquiry/the-monumental-achievement-of-the-stanford-en...
1•rbanffy•13m ago•0 comments

Counting "Go" on Hacker News, using a Jev-like decision model

https://github.com/ianTPE/hn-topic-race/blob/main/docs/counting-go.md
1•iantpe•16m ago•1 comments

Welcome to Soviet Union 2.0, comrade

https://nibblestew.blogspot.com/2026/11/welcome-to-soviet-union-20-comrade.html
2•ibobev•24m ago•0 comments

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

https://github.com/Th0rgal/satmux
3•joshcsimmons•24m ago•0 comments

Schneier: Tracking incidents of hacking using AI tools

https://www.schneier.com/blog/archives/2026/11/tracking-incidents-of-hacking-using-ai-tools.html
2•thamiltonsmith•26m ago•0 comments

Show HN: Nuv1, a real time animated character on ESP32-S3 board

https://nuv1.com/
1•NuvolaProject•27m ago•0 comments

Can I use QEMU untrusted?

1•logicallee•29m ago•0 comments

Why optimistic UI updates are corrosive

https://datastar-instant-intent.ndyg.cross.stream/corrosive/
1•fanf2•32m ago•0 comments

Classic Shift Ciphers with `lens` and `finite-typelits`

https://jackkelly.name/blog/archives/2026/11/26/classic_shift_ciphers_with_lens_and_finite-typeli...
1•ibobev•32m ago•0 comments

Show HN: CouncilTaxCost – 2026/27 UK Council Tax and 1991 HPI Band Calculator

https://counciltaxcost.co.uk/tools
1•hacphong•37m ago•0 comments

Top Cobalt Miner Congo to Ban Exports Again as Prices Fall

https://www.bloomberg.com/news/articles/2026-11-23/top-cobalt-producer-congo-will-ban-exports-aga...
1•tosh•39m ago•0 comments

Why Mercedes Is Trying to Build an EV Battery Without Cobalt

https://www.autoweek.com/news/a74444024/mercedes-trying-to-build-ev-battery-without-cobalt/
1•tosh•39m ago•0 comments

AgentTrust KYE – 6 days of probing remote MCP servers (41% > 500ms)

https://github.com/heroson86462-hsnu/agenttrust-kye
1•Heroson86462•39m ago•0 comments

Show HN: Sylence – match your tinnitus pitch, then hear noise notched at it

https://sylence.app/tinnitus-frequency-finder/
1•kyrillos50•39m ago•0 comments

Show HN: Google Maps Leads Scraper – open-source, searches an area tile by tile

https://github.com/userisaziz/google-maps-leads-scraper
1•Userisaziz•40m ago•0 comments

North Korea built the best army of hackers

https://www.cnn.com/2026/11/29/asia/north-korea-hacking-capabilities-intl-hnk-dst
1•extasetoi12•42m ago•1 comments

Ask HN: Will Intel Succeeded?

1•roschdal•42m ago•0 comments

Starmind: Shooting the AI datacenter into space. Why?

https://neatread.net/starmind-shooting-the-ai-datacenter-into-space-why
1•piter691777•43m ago•1 comments

Australia's duty of care law lets platforms assess their own safety risks

https://ajaychavda.com/blog/australia-s-duty-of-care-law-lets-platforms-assess-their-own-safety-r...
1•romania1•45m ago•1 comments

Faceball – a try new things experiment

https://trynewthings.fail/experiments/faceball/
1•fjallstrom•50m ago•0 comments

The Death of TTPs – Autonomous Cyber Attacks in the Wild [video]

https://www.youtube.com/watch?v=7q7CSxntccw
1•_voidtrace•51m ago•0 comments

The Cognitive Art of Feynman Diagrams (eBook) – Edward R. Tufte

https://www.edwardtufte.com/book/the-cognitive-art-of-fyenman-diagrams-ebook/
2•icc97•54m ago•0 comments

Ten tracks from the game of my childhood

https://www.openstreetmap.org/user/darkonus/diary/409740
2•altilunium•56m ago•0 comments

The backlash over 'fake' assistance dogs

https://www.bbc.co.uk/news/articles/ck1l0e2rdyd1o
2•mellosouls•57m ago•0 comments

What the Top Roblox Games Put on Their Game Page (2026 Data Study)

https://rbxgfx.com/blog/roblox-top-games-thumbnails-study
1•visiohex•57m ago•0 comments