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.

OpenMono: The open-source mono font

https://openmono.com/
1•hn-aarvin•2m ago•0 comments

Show HN: BannedWhere – scan a US food barcode, see what Europe (EU) bans in it

https://bannedwhere.com
1•spacecommander•8m ago•0 comments

Warren Buffett Dies at 96

https://www.foxbusiness.com/business-leaders/warren-buffett-billionaire-investor-who-built-berksh...
1•emrah•9m ago•1 comments

Linear Regression and Gradient Descent from Scratch (PyTorch, Video Lecture)

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

Show HN: Red Yarn Reader, a static, self-hostable screenplay viewer for the web

https://redyarnreader.kyefox.com
1•Kye•12m ago•0 comments

DOJ Sent Subpoenas to Nvidia for Help in Chip Smuggling Probes

https://news.bloomberglaw.com/tech-and-telecom-law/doj-sent-subpoenas-to-nvidia-for-help-in-chip-...
1•mfiguiere•13m ago•0 comments

Salazar vs. Paramount Global

https://www.oyez.org/cases/2026/25-459
1•stygiansonic•13m ago•0 comments

Hledger v2.0

https://github.com/hledgerorg/hledger/releases/tag/2.0
2•olexsmir•15m ago•0 comments

AI-Written SQL (and Stored Procedures) from "Works" to "Trusted"

https://github.com/SPLWare/SQLazy/blob/master/AI-Written%20SQL%20%20From%20%E2%80%9CWorks%E2%80%9...
1•Judyrabbit•18m ago•0 comments

Show HN: Spend Warren Buffett Money – In Tribute to the Oracle of Omaha

https://spendwarrenbuffettmoney.com/
1•humphrey_liu•18m ago•0 comments

Repository Is Maintained by the New Official Heretic Community

https://github.com/Vinay-Umrethe/heretic
2•jacquesm•21m ago•0 comments

What I Learned Building a Static Site Generator in Rust

https://reverentgeek.com/what-i-learned-building-a-static-site-generator-in-rust/
1•reverentgeek•24m ago•0 comments

Explain How Agent Harnesses Work with Graph

https://gangtao.github.io/how_harness_works/
1•gangtao•25m ago•0 comments

November Digest of HCS

https://higher-categorical-semantics.pages.dev/announcements/digest-2026-11
1•measurablefunc•30m ago•0 comments

Easl – Enhanced Abstraction Shader Language

https://easl-lang.org/
2•camilleroux•33m ago•0 comments

State of email and domain security in the topk sites (December 2026)

https://httpfy.io/research/email-security-2026-12
1•samso26•34m ago•0 comments

I ported my Vulkan game engine to macOS in one day

https://gamesbymason.com/blog/2026/porting-nyc-to-macos/
1•birdculture•39m ago•0 comments

Barbie smartwatch with calorie counter sparks eating disorder fears

https://www.theguardian.com/technology/2026/dec/02/barbie-smartwatch-eating-disorder-fears-calori...
2•thunderbong•40m ago•0 comments

When your kids cut snowflakes this December, teach them prime factorization

https://moultano.wordpress.com/2026/05/01/cutting-snowflakes-and-prime-factorization/
1•moultano•41m ago•0 comments

The Next Way to Talk to A.I. Might Be Not Talking at All

https://www.nytimes.com/2026/12/01/technology/tacit-ai-dictation.html
1•nreece•45m ago•0 comments

What do your MCP tools cost your agent before it starts?

https://github.com/Egoushka/switchboard
1•nimus•52m ago•0 comments

Ask HN: What do you think of this YouTube AI slop ad I was just served? [video]

https://www.youtube.com/watch?v=ASPimIeI-_8
2•godwinson__4-8•53m ago•3 comments

Anthropic: A Commodity Priced as a Monopoly

https://seekingalpha.com/article/4972648-anthropic-a-commodity-priced-as-a-monopoly
2•andsoitis•53m ago•2 comments

Fluxer is a free, open-source Discord alternative

https://fluxer.com
2•pentagrama•54m ago•0 comments

AWS Continuum for software supply chain (Preview)

https://aws.amazon.com/about-aws/whats-new/2026/12/continuum-software-supply-chain-preview/
1•yackrru•54m ago•0 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
7•gmays•56m ago•1 comments

Perplexity fends off some claims in Amazon lawsuit over AI shopping agents

https://www.reuters.com/legal/government/perplexity-fends-off-some-claims-amazon-lawsuit-over-ai-...
1•ComputedCamp995•1h ago•0 comments

Ask HN: Why is coding "solved", but AI hasn't conquered the software world yet?

1•Marczelloni•1h ago•6 comments

No sign of autonomous AI in spending data

https://ramp.com/data/no-sign-of-autonomous-ai-in-spending-data
2•_delirium•1h ago•0 comments

Democratizing Megakernels for Any Workload with VibeSys

https://syfi.cs.washington.edu/blog/2026-11-30-megakernels/
1•matt_d•1h ago•0 comments