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.

Give Your Coding Agent a Journal

https://doug.sh/posts/give-your-coding-agent-a-journal/
1•dougcalobrisi•40s ago•0 comments

Elon Musk's near-daily online posts about race are turning off some fans

https://www.washingtonpost.com/technology/2026/04/24/musk-online-posts-race-whiteness/
2•ironyman•1m ago•0 comments

Supplyframe Sells Tindie

https://www.hackster.io/news/supplyframe-sells-tindie-now-in-its-second-week-of-site-outage-to-pa...
2•0xBA5ED•4m ago•1 comments

Psychology textbooks still misrepresent famous experiments controversial debates

https://www.psypost.org/psychology-textbooks-still-misrepresent-famous-experiments-and-controvers...
2•ZunarJ5•6m ago•0 comments

Bitcoin 'Q-Day' Draws Nearer as Quantum Researcher Breaks Simplified Key

https://decrypt.co/365444/bitcoin-q-day-draws-nearer-quantum-researcher-breaks-simplified-key
2•HardwareLust•6m ago•0 comments

New adventures, same company (2024)

https://www.mooreds.com/wordpress/archives/3643
3•mooreds•10m ago•0 comments

Ignoring the War Has Been Working for Long-Term Investors

https://www.nytimes.com/2026/04/24/business/iran-war-stocks-bonds-investing.html
2•mooreds•18m ago•0 comments

There is too much traffic for Alex to walk to school, so we drive (2019)

https://www.researchgate.net/publication/324388709_There_is_too_much_traffic_for_Alex_to_walk_to_...
3•aziaziazi•19m ago•0 comments

The Space Between Humans, AI, and the Work We've Been Avoiding

https://www.bettyjunod.com/blog/the-space-between-humans-ai-and-the-work-weve-been-avoiding
2•mooreds•19m ago•0 comments

Trading Is Getting Younger, Ownership Is Getting Older

https://www.apollo.com/wealth/the-daily-spark/trading-is-getting-younger-ownership-is-getting-older
2•akyuu•23m ago•0 comments

Record Labels Drop Piracy Lawsuits Against Altice and Verizon After Cox Ruling

https://torrentfreak.com/record-labels-drop-piracy-lawsuits-against-altice-and-verizon-in-wake-of...
3•Cider9986•23m ago•0 comments

Trends in sudden death mortality across Europe, 2010–2020

https://www.thelancet.com/journals/lanepe/article/PIIS2666-7762(26)00067-0/fulltext
2•akyuu•27m ago•0 comments

Man stole coworkers identity for 30 yrs, victim in mental hosp exonerated by DNA

https://www.cbsnews.com/minnesota/news/matthew-keirans-coworker-identity-theft-sentence-william-w...
4•randycupertino•29m ago•1 comments

Error 404 (Not Found) 1

http://google.com/does-not-exist
2•pbhn•29m ago•1 comments

Mortgage lenders to consider rent history in mortgage applications

https://www.marketplace.org/story/2026/04/23/fannie-freddie-change-to-make-it-easier-for-renters-...
2•littlexsparkee•31m ago•0 comments

Working with Claude Code: A Field Manual

https://blog.iannelson.uk/working-with-claude-code
2•ianfrasernelson•32m ago•0 comments

Robotic Security Dogs Now on the Job to Protect Crops

https://www.globalagtechinitiative.com/in-field-technologies/robotics-automation/robotic-security...
3•rmason•32m ago•1 comments

Supreme Court to hear argument on law enforcement's use of "geofence warrants"

https://www.scotusblog.com/2026/04/court-to-hear-argument-on-law-enforcements-use-of-geofence-war...
3•throw0101c•32m ago•1 comments

Anthropic CPO leaves Figma board after reports of competing product

https://techcrunch.com/2026/04/16/anthropic-cpo-leaves-figmas-board-after-reports-he-will-offer-a...
2•gmays•34m ago•0 comments

Editable 3D models with code or AI in Roblox

https://twitter.com/roblox/status/2047406073263382834
3•dmarcos•37m ago•0 comments

What Is an Enterprise Learning Management System?

1•financehub•38m ago•0 comments

SQLite Vec1 Vector Extension for vector search

https://sqlite.org/vec1/doc/trunk/doc/vec1.md
1•OutOfHere•43m ago•0 comments

Show HN: I've built a nice home server OS

https://lightwhale.asklandd.dk/
15•Zta77•44m ago•3 comments

The Surveillance Accountability Act Demands Warrants for Data

https://reclaimthenet.org/surveillance-accountability-act
2•Cider9986•44m ago•0 comments

Show HN: Wayland Wlroot Hjkl Everywhere

https://git.sr.ht/~hocwp/blog/tree/main/wlroot-hjkl-everywhere.md#wayland-wlroot-codehjklcode-eve...
2•pbrhocwp•46m ago•0 comments

Cloudflare for SaaS: your old provider can silently keep your domain

https://blog.iodev.org/blog/cloudflare-saas-custom-hostname-conflict/
4•else42•47m ago•0 comments

Show HN: Codex context bloat? 87% avg reduction on SWE-bench Verified traces

https://www.npmjs.com/package/pando-proxy
4•george_ciobanu•52m ago•2 comments

Generalised plusequals

https://leontrolski.github.io/alt.html
2•leontrolski•52m ago•0 comments

Ask HN: Any Developer from Wales?

2•danver0•52m ago•1 comments

We Are (Still) Living in the Long Boring

https://freddiedeboer.substack.com/p/we-are-still-living-in-the-long-boring
6•YeGoblynQueenne•55m ago•0 comments