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.

Run Inworld Voice Isolator on Apple Silicon with Core ML

https://soniqo.audio/blog/inworld-voice-isolator-coreml
1•aufklarer•30s ago•0 comments

Gen1.life Agentic Legacy of Hope – AI Autobiographer

https://www.gen1.life
1•mariosebok•1m ago•1 comments

Dasher (Software)

https://en.wikipedia.org/wiki/Dasher_(software)
1•bschne•2m ago•0 comments

I Am DR

https://hackaday.io/FleyMoris
1•DrMoris•12m ago•0 comments

Show HN: Pocket Tools – 63 PDF, image and dev tools that never upload your files

https://pockettools.in/home/
1•infasmuhammed•14m ago•0 comments

Intel Xe3 vs. Apple M2 bfloat16 gap

https://carette.xyz/posts/intel_xe3_vs_apple_m2_bf16_gap/
1•LucidLynx•16m ago•0 comments

Show HN: Claude Code's /stats double-counts tokens, so I built a local Wrapped

https://github.com/KartikGupta2007/aurafarm
1•KartikGuptaJi•16m ago•0 comments

Booby-trapping an LLM with weight-space tripwires

https://deepaksingh98.github.io/projects/safety-wire/
2•joshcsimmons•18m ago•0 comments

On Cryptography, Frontier Threats, and Avalanche

https://twitter.com/el33th4xor/status/2128527396370280708
1•sedatk•18m ago•0 comments

An Award and a Conversation at the Quincy Institute

https://mearsheimer.substack.com/p/an-award-and-a-conversation-at-the
1•hackandthink•19m ago•0 comments

Why are Europe's carmakers scrambling to scale back their operations?

https://www.theguardian.com/business/2026/dec/06/why-are-europes-carmakers-scrambling-to-scale-ba...
2•YeGoblynQueenne•19m ago•0 comments

Lapis Lazuli Found in Japan for First Time in Niigata

https://japan-forward.com/lapis-lazuli-niigata-itoigawa-first-discovery/
2•bryanrasmussen•31m ago•0 comments

Post-quantum certificate changes coming to Microsoft Edge

https://blogs.windows.com/msedgedev/2026/12/04/post-quantum-certificate-changes-coming-to-microso...
2•_tk_•36m ago•1 comments

Show HN: I built a native GTK4 PDF editor for Linux

https://github.com/word-sys/word-sys-pdf-editor
1•word-sys•44m ago•0 comments

Running QCOW2 Images on Hyper-V Instead of QEMU/KVM on WSL2

https://blog.benyamin.xyz/2026/12/06/how-to-run-linux-cloud-image-qcow2-in-hyper-v-windows-with-c...
1•benlimanto•44m ago•1 comments

Latch Browser(Android)

https://github.com/Ali120B/latch-browser
1•z8sq61a9y•49m ago•0 comments

TelePulse

https://github.com/aivideosuz46-creator/telepulse
1•TelePulse•52m ago•0 comments

Win-dev-doctor – Fast CLI and zero-dep MCP doctor for Windows dev environments

https://github.com/reillywalter/win-dev-doctor
1•reillywalter•57m ago•0 comments

FastCompose: Eliminating Compilation Cold Starts in Query Exec with Composition

https://al.radbox.org/doi/10.14778/3827998.3828011
1•matt_d•1h ago•0 comments

Zero Trust Authorization for AI Agents (Apache Casbin Whitepaper)

https://casbin.apache.org/docs/ai-agent-authorization-whitepaper/
2•hsluoyz•1h ago•0 comments

Fun fact: HTML DOM addEventListener discards duplicates

https://devblogs.microsoft.com/oldnewthing/20261204-32/?p=112926/
1•dverlaeckt80•1h ago•0 comments

Metronomes in JavaScript (2019)

https://meowni.ca/posts/metronomes/
1•dverlaeckt80•1h ago•0 comments

Find the queries behind your Databricks SQL bill

https://medium.com/@yanivleven/find-the-queries-behind-your-databricks-sql-bill-760230dc15d4
1•yanivleven•1h ago•0 comments

Show HN: Run-tool, keeps shell output out of Claude Code context

https://github.com/ibrahim-bayer/claude-code-token-optimization-by-tool-call
1•ibrahimbayer•1h ago•0 comments

Delete the Paper, Beat the Authors: Introducing FrontierCS 2 (Benchmark)

https://bair.berkeley.edu/blog/2026/12/03/fcs2/
2•charlie42•1h ago•0 comments

WorldWordMap – type a word, see it translated across a world map

https://worldwordmap.com/
2•tkachenko•1h ago•3 comments

ChiliTown – Meme ranking using a custom Scoville scoring algorithm

https://chilitown.org
1•paxcto•1h ago•1 comments

Free check for leaked API keys in webapps

https://reseal.app/check/
2•Toostic•1h ago•1 comments

A pentester's view on Problematic Crypto Math

https://cookie.engineer/weblog/articles/problematic-cryptography-math.html
1•cookiengineer•1h ago•0 comments

A €7.98 LED strip from Action now follows my kids' screens

https://blog.hagebols.com/posts/action-led-strip-follows-the-screen/
1•decide1000•1h ago•0 comments