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.

Eron on X: "LLMs do one thing: predict the next word

https://twitter.com/0xEronn/status/2089079333885198384
1•bilsbie•1m ago•0 comments

Show HN: Built my 15-year-old game idea

2•ashitlerferad•1m ago•0 comments

VulnBench: Can LLMs find the same security bugs twice?

https://vulnbench.com/
1•lirantal•2m ago•0 comments

What Zig felt like, coming from Rust

https://besok.github.io/posts/what-zig-felt-like-coming-from-rust/
1•birdculture•3m ago•0 comments

After Europe ditched Windows, China follows suit with its own home-grown Linux

https://www.xda-developers.com/after-europe-ditched-windows-china-follows-suit-with-its-own-home-...
1•ashitlerferad•4m ago•0 comments

Nearly one in ten published Claude Code skills does not load

https://toolproof.kynth.studio/census
1•kyisaiah47•5m ago•0 comments

Australia passes law to levy tech giants that fail to pay for local news

https://www.reuters.com/legal/litigation/australia-passes-law-levy-tech-giants-that-fail-pay-loca...
2•thm•6m ago•0 comments

Reverse-engineering Find My People to stalk a friend, cause I can

https://zerotistic.blog/posts/find-my-people-linux/
1•lalitmaganti•6m ago•0 comments

Fairphone (Gen. 6) Launched [video]

https://www.youtube.com/watch?v=v5v0LjXY6Fc
1•ashitlerferad•8m ago•0 comments

Show HN: Try Sequo to manage your AI context

https://sequo.app
1•shken•9m ago•0 comments

Show HN: Your all-in-one text engine – zero dependencies

https://dg.calia.cc/
1•silly-tae•9m ago•0 comments

LG's new OLED breakthrough can boost display lifespans

https://www.theverge.com/tech/982609/lg-oled-panel-flipp-display-technology
1•ksec•9m ago•0 comments

Show HN: Ez – a macOS command runner that flags when a command gets slower

https://github.com/urtti/ez
2•frankbyte•9m ago•0 comments

The first AI agents hire human to ship ugc videos for you

https://klaylab.com/
1•zya_wei•10m ago•0 comments

Control Panel for Twitter: browser extension gives you control and adds features

https://github.com/insin/control-panel-for-twitter
1•akyuu•13m ago•0 comments

Use your favorite coding agent with any model

https://getaivo.dev/
1•spirit23•14m ago•0 comments

Agent Voice, communicate with your coding agent all from Voice, on the fly

https://github.com/dixonSolutions/AgentVoice
1•rat_rad•16m ago•1 comments

50% of all "employment growth" in California and New York is home care fraud

https://twitter.com/Kazanjy/status/2090087364186239278
2•MrBuddyCasino•16m ago•0 comments

Show HN: Sheeplaunch – Product Launch Platform

https://sheeplaunch.com
1•not_wowinter14•16m ago•1 comments

DDD matters more when AI writes your code

https://threedots.tech/post/ddd-and-ai-coding/
1•roblaszczak•17m ago•0 comments

Show HN: Mock endpoints with Polo

https://www.http-response.com/
1•primalscreamer•23m ago•0 comments

Seeing beyond BMI: Estimating cardiometabolic risk with smartphone imagery

https://research.google/blog/seeing-beyond-bmi-estimating-cardiometabolic-risk-with-smartphone-im...
2•leanderjanssen•26m ago•0 comments

Support networks aim to help kids through the polycrisis

https://www.technologyreview.com/2026/08/20/1141686/support-networks-help-kids-polycrisis/
1•joozio•27m ago•0 comments

A GTA VI leaker seemingly has a playable build

https://www.theverge.com/games/982623/gta-vi-leaker-playable-build
3•leumon•28m ago•0 comments

Apple's Camera-Equipped AirPods See Them in Action

https://www.macrumors.com/2026/08/17/camera-equipped-airpods-macos-26-7/
2•jacquesm•29m ago•0 comments

The United States is about to wake up to the threat from China's space program

https://arstechnica.com/space/2026/08/the-united-states-is-about-to-wake-up-to-the-threat-from-ch...
3•ironyman•32m ago•0 comments

Issues in the Repo

https://nesbitt.io/2026/08/20/issues-in-the-repo.html
1•jamietanna•34m ago•0 comments

Show HN: Protobuf.com, a visual, interactive guide to Protocol Buffers

https://protobuf.com/
3•sudorandom•36m ago•0 comments

Satellite proliferation imperils astronomical observations, study finds

https://www.reuters.com/business/media-telecom/satellite-proliferation-imperils-astronomical-obse...
2•comebhack•36m ago•0 comments

Computers Compared

https://fly.io/computers-compared/
1•jacobwg•36m ago•0 comments