frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Business Case for Vanilla JavaScript

https://lewiscampbell.tech/blog/250430.html
6•LAC-Tech•11mo ago

Comments

copypaper•11mo 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•11mo ago
What benefits of a framework?

I think that's why I wrote this - I almost completely fail to see them.

proc0•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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: Whirligig

https://whirligig.live
1•idiocache•2m ago•0 comments

Show HN: Onepilot – Multi-agent orchestration from iPhone over native SSH

https://onepilotapp.com
1•elmlabs•2m ago•0 comments

Docker and the Linux Kernel Isolate Your Agent, and Where They Don't

https://timbreai.substack.com/p/how-docker-and-the-linux-kernel-isolate
1•bakibab•3m ago•0 comments

College instructor turns to typewriters to curb AI-written work

https://apnews.com/article/typewriter-ai-cheating-chatgpt-cornell-ce10e1ca0f10c96f79b7d988bb56448b
1•ohjeez•3m ago•0 comments

AI modeling techniques for vision-based occupancy determination

https://patents.google.com/patent/US20240185445A1/en
1•libpcap•4m ago•0 comments

The Seed Beneath the Snow

https://eli.li/the-seed-beneath-the-snow
1•birdculture•6m ago•0 comments

Cognition Announces SWE 1.6

https://cognition.ai/blog/swe-1-6
1•mschrage•9m ago•0 comments

Edwin Heathcote: Why the Max Bill Automatic Is the Ultimate Watch

https://www.ft.com/content/37cc95c7-794a-4d44-aef4-beebc534100f
1•aanet•9m ago•1 comments

Demis Hassabis: Renaissance man. He knows that image is everything

https://unherd.com/2026/04/demis-hassabis-renaissance-man/
1•mellosouls•10m ago•0 comments

Skilled older workers turn to AI training to stay afloat

https://www.theguardian.com/technology/ng-interactive/2026/apr/07/ai-training-work-jobs
3•billybuckwheat•11m ago•0 comments

is-antibot: Detect bot protection challenges from +25 providers

https://antibot.microlink.io/
2•Kikobeats•12m ago•0 comments

If-pal: play Zork (and other games) with an AI gen alpha companion

https://github.com/techbelly/if-pal
1•techbelly•13m ago•0 comments

OPFS: Origin Private File System

https://web.dev/articles/origin-private-file-system
1•nvahalik•14m ago•0 comments

Six People. 236 Episodes. 1 Coffee Shop. – Friends visualised

https://sheets.works/data-viz/friends
2•lode•17m ago•1 comments

A graph of Trump's contradictions that builds itself using a local LLM

https://biglystable.com
3•shmeeny•17m ago•0 comments

Dextr – Deterministic 100k Process Scheduler (Rust, No_std)

https://dextr-org.github.io/DEXTR-SITE/
1•WMASTERW•20m ago•1 comments

Anthropic Claude Mythos: The More Capable AI Becomes, the More Security It Needs

https://www.crowdstrike.com/en-us/blog/crowdstrike-founding-member-anthropic-mythos-frontier-mode...
1•wslh•22m ago•0 comments

Impeaching Donald J. Trump, President of the United States [pdf]

https://www.congress.gov/119/bills/hres1155/BILLS-119hres1155ih.pdf
15•embedding-shape•24m ago•1 comments

Apple approves drivers that let AMD and Nvidia eGPUs run on Mac

https://www.tomshardware.com/pc-components/gpu-drivers/apple-approves-drivers-that-let-amd-and-nv...
2•Anon84•25m ago•0 comments

FDIC Lays Out Guidelines for Institutions Issuing Stablecoins

https://www.bloomberg.com/news/articles/2026-04-07/fdic-lays-out-guidelines-for-institutions-issu...
1•toomuchtodo•25m ago•1 comments

Apple Is Reportedly Facing a 'Massive Dilemma' with the MacBook Neo

https://www.macrumors.com/2026/04/07/macbook-neo-massive-dilemma/
5•thm•26m ago•1 comments

It's possible US use EMP in Iran

2•pajuhaan•27m ago•1 comments

Boost.Container: comparing different deque implementations

https://boostedcpp.net/2026/03/30/deque/
1•joaquintides•31m ago•0 comments

Linux kernel maintainers are following through on removing Intel 486 support

https://arstechnica.com/gadgets/2026/04/linux-kernel-maintainers-are-following-through-on-removin...
2•cpeterso•31m ago•0 comments

Anthropic Lets Apple, Amazon Test More Powerful Mythos AI Model

https://www.bloomberg.com/news/articles/2026-04-07/anthropic-lets-apple-amazon-test-more-powerful...
3•marc__1•33m ago•0 comments

SEC Awards Whistleblower over $50M for Enforcement Tip

https://www.bloomberg.com/news/articles/2026-04-07/sec-awards-whistleblower-over-50-million-for-e...
2•toomuchtodo•33m ago•1 comments

Cybersecurity in the Age of Instant Software

https://www.schneier.com/blog/archives/2026/04/cybersecurity-in-the-age-of-instant-software.html
2•speckx•33m ago•0 comments

Shots fired – – over proposal to build datacenter in Indianapolis

https://www.theregister.com/2026/04/07/indianapolis_datacenter_shots_fired/
1•mattydread•34m ago•0 comments

Callgraph.io – Visualize the code flow of complex databases and system softwares

https://callgraph.io/
1•elwray•35m ago•1 comments

Show HN: Turn your GitHub activity into a weekly dev blog on GitHub Pages

https://github.com/deariary/github-weekly-reporter
2•unhappychoice•38m ago•0 comments