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.

Can machines even be conscious?

https://crackedbeefcake.com/on/machines/
1•lazerjesus•42s ago•1 comments

Show HN: FramePin – Turn screen recordings into beautiful interactive guides

https://framepin.com/
1•aksuta•46s ago•0 comments

Show HN: Know the true cost of egg freezing upfront

https://eggfreezingfacts.org/
1•wowinter15•2m ago•0 comments

The $28,000 Course for an AI Job Nobody Quite Understands Yet

https://www.bloomberg.com/news/articles/2026-08-21/how-executives-are-training-to-become-chief-ai...
1•wslh•3m ago•1 comments

Controlling what information enters my mind

https://puffer.bearblog.dev/info-control/
1•Gecko4072•3m ago•0 comments

How I Find Problems to Solve as a Staff Engineer

https://lalitm.com/post/find-problems-staff-engineer/
1•vanpra•6m ago•0 comments

Claude limits used quickly then

1•gpt4o•6m ago•0 comments

Show HN: Cartopolis, 3D virtual world (Rust/Bevy/OSM)

1•jvanveen•8m ago•0 comments

Drydock – turn messy specifications into working software

https://webcloudstudio.com/
1•happyed•8m ago•1 comments

Israeli-Alloc

https://github.com/0xe7f79c/israeli-alloc
3•itsJustTrivial•8m ago•0 comments

British Kids Are Skipping Top Colleges for White-Collar Apprenticeships

https://www.wsj.com/lifestyle/careers/british-kids-are-skipping-top-colleges-for-white-collar-app...
2•bookofjoe•9m ago•1 comments

My experience as a first time speaker

https://blog.guillheu.dev/articles/first-time-speaker/
1•crowdhailer•12m ago•0 comments

Show HN: Doop – open-source live canvas for AI agents to design

https://github.com/kgoedecke/doop
1•kgoedecke•15m ago•0 comments

Study: Men and women who marry early are poorer [pdf]

https://link.springer.com/content/pdf/10.1007/s12546-026-09430-4.pdf
1•rustoo•16m ago•0 comments

Hot Chips 2026: Samsung and HBM Base Die Opportunities

https://chipsandcheese.com/p/hot-chips-2026-samsung-and-hbm-base
1•pella•21m ago•0 comments

Mystery AI Model Ox Alpha Draws Developers with Free Access

https://www.bloomberg.com/news/articles/2026-08-23/mystery-ai-model-ox-alpha-draws-developers-wit...
1•tosh•23m ago•1 comments

Fable and the End of the Free Lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
2•dbreunig•23m ago•0 comments

Show HN: NoteCount – Offline-first cash counter and digital ledger for Android

https://play.google.com/store/apps/details?id=com.dskysolution.notecount&hl=en_US
1•diptenusarkar•28m ago•0 comments

Show HN: ZMQ Arena – a benchmark harness for ZeroMQ/ZMTP implementations

https://vorjdux.github.io/zmq-arena/
1•vorjdux•28m ago•0 comments

Over 170k Nonprofits Lost All Their Data. Is Microsoft to Blame?

https://slate.com/technology/2026/08/microsoft-software-nonprofit-data-delete.html
18•tchalla•33m ago•4 comments

The Guile of the Data Center

https://deskofjim.com/blog/the-guile-of-the-data-center/
1•jamesbaker1•34m ago•0 comments

Harness Training

https://www.henrypan.com/blog/2026-07-18-harness-training/
2•contextweaver•38m ago•0 comments

Radio and Movies in the 1930s

https://arnoldkling.substack.com/p/radio-and-movies-in-the-1930s
1•paulpauper•39m ago•0 comments

Mill, Hayek, and Liberalism

https://casssunstein.substack.com/p/mill-hayek-and-liberalism
1•paulpauper•40m ago•0 comments

Economic Growth Makes Graceland Less Impressive

https://thedailyeconomy.org/article/economic-growth-makes-graceland-less-impressive/
1•paulpauper•43m ago•1 comments

Vast.ai Benchmarking – Detect/Log Garbage Servers

https://github.com/drivelineresearch/vast-benchmarking
1•icelancer•46m ago•0 comments

We're trying to get 1M people to pay $1 and it's working

https://wemillion.world
1•felixthiollier•46m ago•4 comments

The WWI Plan to Turn America's Trees into Telephones

https://www.atlasobscura.com/articles/the-world-war-i-plan-to-turn-americas-trees-into-telephones
2•ohjeez•47m ago•0 comments

Yahoo, the internet's 'OG', wants to win over Gen Z

https://www.ft.com/content/50c666af-1979-4411-9d62-34e18cc0ecc9
2•thm•48m ago•0 comments

Say It Four Times (In Your System Prompt)

https://www.khola.blog/p/say-it-four-times
2•nkhola•48m ago•0 comments