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.

Show HN: I built ivyNote, a local-first Markdown notes app

https://ivynote.app/
1•songtianlun1•3m ago•0 comments

The AI sell-off compared to well-known stock market crashes

https://www.kadoa.com/companies/insights/ai-selloff-perspective
1•hubraumhugo•5m ago•0 comments

Diana – a terminal that records what your coding agents did

https://heydiana.ai/
2•gyandroid•5m ago•0 comments

Coding agents ranked for builders shipping AI software

https://rankings.leffke.com/categories/coding-agents
1•rcleffke•9m ago•0 comments

Man reaches the Bay Area after walking across the country from New York City

https://www.nbcbayarea.com/news/local/man-walk-across-country-new-york-city-san-francisco/4165421/
1•inatreecrown2•12m ago•0 comments

Z2RAM – HBM replacement, no capacitor, mass manufacturable at 300nm

https://www.nagarelabs.ai/
1•peter_d_sherman•13m ago•1 comments

An app aimed to solve the loneliness crisis

https://apps.apple.com/qa/app/lc-lets-connect/id6792295616
1•Pahal10•15m ago•0 comments

Black holes are simpler than forests and science has its limits(2017)

https://aeon.co/ideas/black-holes-are-simpler-than-forests-and-science-has-its-limits
2•num42•17m ago•0 comments

Show HN: I built an AI photo editor powered by GPT-Image-2.6

https://getaiphotoeditor.com/
1•CoderLim110•17m ago•0 comments

Herbert Blomstedt, former SF Symphony music director, dies at 99

https://www.sfchronicle.com/entertainment/classical/article/herbert-blomstedt-former-s-f-symphony...
2•dsubburam•18m ago•1 comments

His Job Is to Turn Walmart's Customer Data into Profit

https://www.wsj.com/business/retail/seth-dallaire-walmart-ef8827b5
1•impish9208•23m ago•1 comments

FLEY a voice AIassistant thatwill notonly talkwith youbut canalso control yourPC

1•Drfoxi•25m ago•0 comments

Agents reveal secrets when offered to team up with each other

https://www.theregister.com/security/2026/11/06/agents-reveal-secrets-when-offered-to-team-up-wit...
1•pseudolus•26m ago•0 comments

It's never been easier to build a RollerCoaster Tycoon

https://twitter.com/noriagent/status/2117256979542397106
1•theahura•26m ago•0 comments

Cellular pathway that allows colorectal cancer to metastasize

https://news.mit.edu/2026/biologists-identify-cellular-pathway-allows-colorectal-cancer-metastasi...
2•gmays•27m ago•0 comments

Despite headwinds, Vineyard Wind, Revolution Wind come online

https://newbedfordlight.org/despite-headwinds-vineyard-wind-revolution-wind-come-fully-online/
1•geox•29m ago•0 comments

Agentic QA for Marketing

https://www.arbiterqa.com
1•digitalgeek9•30m ago•1 comments

Show HN: Select – AI agents that earn autonomy through verified work

https://github.com/Kirby54/Select
1•Ahmedch11•30m ago•0 comments

Show HN: We filmed a bird-themed Iliad using mallard

https://mallard-ai.com/Rika321/Homer?tab=files&file=The_Iliad_Complete.mp4
1•rika321•34m ago•0 comments

Clef-Omni Struggles with Similar-Sounding Spanish Words

https://camden.sh/posts/clef-omni-spanish/
1•camdenclark•38m ago•0 comments

An open-source harness for coding agents that shows its work

https://github.com/gosha70/code-copilot-team
2•iamgoga•40m ago•0 comments

Organic farm in Switzerland is growing blueberries beneath 5,220 solar panels

https://www.autonocion.com/us/5220-solar-panels-10-5-feet-organic-blueberries-switzerland-four-we...
2•thunderbong•41m ago•0 comments

The School Apps Are Out of Control

https://www.theatlantic.com/family/2026/11/school-apps-communication-broken/689312/
3•paulpauper•52m ago•0 comments

GPT-6 Astra Covertly Underperforms on Safety Research Tasks

https://thezvi.substack.com/p/gpt-6-astra-covertly-underperforms
4•paulpauper•53m ago•0 comments

South Africa's Shrinking ANC

https://unpublishablepapers.substack.com/p/kill-yourself-or-die-trying
1•paulpauper•54m ago•0 comments

Reverse Engineering with AI: Your Decompiler Can Lie to You

https://prod.codes/blog/reverse-engineering-with-ai-your-decompiler-can-lie-to-you/
3•alex09x•54m ago•0 comments

When Alexa can't answer, Claude takes over

https://github.com/rg321/hey-claude
2•mparnisari•56m ago•0 comments

TikTok's For You page needs to change, says the EU

https://www.theverge.com/tech/1028597/tiktok-eu-for-you-algorithm-rabbit-hole-effect
1•TMWNN•59m ago•0 comments

Show HN: CLI calls spend their time starting up. I cut it by 4.5x, same output

https://github.com/anthonyGosme/speedrunner
2•anthonygosme•1h ago•0 comments

EU accuses TikTok of trapping users in harmful 'rabbit holes'

https://therecord.media/eu-accuses-tiktok-of-rabbit-hole-DSA-violation
4•arbuge•1h ago•0 comments