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.

What did SFFA vs. Harvard reveal about admissions?

https://sorting-machine.pages.dev/
1•StrageMusik•2m ago•0 comments

Trump's plan for Europe is falling apart

https://www.ft.com/content/23041bb7-4647-4efe-b790-b763d270fb72
1•petethomas•3m ago•0 comments

Success may not matter if you aren't doing what you love

https://12gramsofcarbon.com/p/founders-guide-success-may-not-matter
1•theahura•3m ago•0 comments

Show HN: Microphone – Talk out your side-project ideas, then test them with ads

https://www.trie.dev/
1•Kriptering•3m ago•0 comments

Show HN: I MitM'd Plex to make remote streaming suck less

https://github.com/inhumantsar/plex-proxy/
1•inhumantsar•3m ago•0 comments

As We May Think – Vannevar Bush (1945)

https://web.archive.org/web/20120822124246/http://www.theatlantic.com/magazine/archive/1945/07/as...
1•embedding-shape•4m ago•0 comments

Groupchatty – Real time chat while using Codex and Claude

https://error.workos.com/redirect-uri-invalid?invalid_redirect_uri=https%253A%252F%252Fgroupchatt...
1•svapnil•5m ago•0 comments

Meta on course to become America's next big cloud provider

https://www.theregister.com/ai-and-ml/2026/07/14/zucks-ai-ambitions-put-meta-on-course-to-become-...
2•galaxyLogic•8m ago•0 comments

Trump invested crypto gains in stocks and bonds, filings show

https://www.reuters.com/legal/government/trump-invested-crypto-gains-stocks-bonds-filings-show-20...
2•petethomas•11m ago•0 comments

Show HN: Made a Free LLM Router

https://www.flexinference.com
2•Aperswal•11m ago•0 comments

AI Model Co-Design: Hardware-Friendly LLM Design

https://developer.nvidia.com/blog/ai-model-co-design-hardware-friendly-llm-design/
2•ashvardanian•14m ago•0 comments

The Political Economy of Diversity, Equity, and Inclusion

https://osf.io/preprints/socarxiv/5tgcs_v1
2•gmays•16m ago•0 comments

Turn your singing voice into printable notes (in the browser)

https://om-intelligence.ch/projects/vocal-notation/vocal-notation.html
2•busssard•18m ago•1 comments

Scams Were Awful. Then They Got AI

https://www.rstreet.org/commentary/scams-were-already-awful-then-they-got-ai/
2•antondd•20m ago•0 comments

Ask HN: What are the best free ePub books to read?

3•smalltorch•23m ago•0 comments

Web Scraper Sets $1M 'Bug Bounty' as Industry Scrutinized

https://www.bloomberg.com/news/articles/2026-07-10/web-scraper-sets-1-million-bug-bounty-as-indus...
2•petethomas•23m ago•0 comments

Show HN: The New Cyborgs Don't Have Implants

https://www.bulaev.net/p/the-new-cyborgs-dont-have-implants
2•sbulaev•23m ago•0 comments

A Hitchhiker's Guide on Distributed Training of Deep Neural Networks (2020)

https://www.sciencedirect.com/science/article/abs/pii/S0743731518308712
2•measurablefunc•26m ago•0 comments

Customer auth for AI voice agents

https://www.ringd.dev/
2•georgekats•28m ago•1 comments

Human Canaries: Remembering the Munitionettes

https://www.historytoday.com/archive/great-debates/human-canaries-remembering-munitionettes
2•Thevet•36m ago•0 comments

Long term memory cortex for agents that maintains tensions

https://github.com/mavaali/daftari
2•mavaali•38m ago•0 comments

ETTrace: Local Mobile Performance Flamegraph

https://www.emergetools.com/flamegraph
2•gmays•40m ago•0 comments

Zig creator calls Bun's Claude Rust rewrite 'unreviewed slop'

https://www.theregister.com/devops/2026/07/14/zig-creator-calls-buns-claude-rust-rewrite-unreview...
6•joebuckwilliams•42m ago•1 comments

Tachyon: An AI Screen-Aware Tutor

https://heybraza.com
2•orakulus•44m ago•0 comments

Show HN: FixBugs – Reproduce production bugs and verify fixes

https://fixbugs.ai
8•kirtivr•46m ago•1 comments

Deceptive Grounding: Entity Attribution Failure in Clinical RAG

https://arxiv.org/abs/2607.09349
2•sbulaev•47m ago•0 comments

What are Forward Deployed Engineers, and why are they so in demand? (2025)

https://newsletter.pragmaticengineer.com/p/forward-deployed-engineers
11•saisrirampur•50m ago•4 comments

UBS Global Wealth Report 2026 [pdf]

https://www.visualcapitalist.com/wp-content/uploads/2026/07/global-wealth-report-en-2026.pdf
4•karakoram•52m ago•0 comments

Cursor Forgets What You Did 20 Minutes Ago. So I Built a System to Fix That

https://medium.com/powermindai/cursor-kept-forgetting-what-we-talked-about-20-minutes-ago-so-i-bu...
2•taylorazul-ai•52m ago•0 comments

Falling Behind: How Skills Shortages Threaten Future Jobs [pdf]

https://cew.georgetown.edu/wp-content/uploads/cew-falling_behind-fr.pdf
2•toomuchtodo•53m ago•0 comments