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•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.

Why are there keys on my messenger app that I don't recognize

1•ttim•6m ago•0 comments

The uno reverse public license

https://github.com/Zuhaitz-dev/URPL
1•anticensor•9m ago•0 comments

Open-source living-room entertainment system, with pretty UI made in Electron

https://github.com/charnam/ClasmeraSpace
1•charnam•10m ago•1 comments

Riyadh Leads Global Tech Growth as Cyprus Becomes Europe's Crisis Safe Haven

https://www.startupblink.com/startupecosystemreport
1•Sam6late•10m ago•1 comments

AI-Declaration.md

https://github.com/DimwitLabs/AI-DECLARATION.md
1•rapiz•12m ago•0 comments

AI Prompt Examples and Techniques for Better AI Outputs

https://promptessor.com/blog/10-ai-prompt-examples-and-techniques
1•rizkimurtadha•12m ago•0 comments

Waterloo Intern = Head of Infra

https://twitter.com/waterloo_intern/status/2057977885840036104
1•tuhins•15m ago•0 comments

Nvidia Removes Gaming Revenue Category from Financial Reports

https://www.guru3d.com/story/nvidia-removes-gaming-revenue-category-from-financial-reports/
2•theanonymousone•15m ago•0 comments

Show HN: Pilates – pure TypeScript flex layout for terminal UIs

https://github.com/pilatesjs/pilates
1•wangzhijie•17m ago•0 comments

Nuclear Power in China

https://world-nuclear.org/information-library/country-profiles/countries-a-f/china-nuclear-power
1•leonidasrup•18m ago•0 comments

Destino: Doom in Your Terminal with Node.js

https://blog.platformatic.dev/destino-doom-terminal-nodejs-ffi
1•piraccini•22m ago•0 comments

Show HN: Source screen for congressional stock disclosure claims

https://tinyopsstudio.com/congress-disclosure-now-csco-source-screen
1•tinyopsstudio•24m ago•0 comments

Telegram's MTProto: Assessing Deanonymization Potential for a Network Attacker [pdf]

https://symbolic.software/pdf/gnmx-01.pdf
1•sysoleg•26m ago•0 comments

Arsenal's title win should be studied by politicians everywhere

https://www.theguardian.com/commentisfree/2026/may/22/keir-starmer-arsenal-politics-premier-league
2•teleforce•36m ago•0 comments

Strengthening Singapore's AI Future

https://deepmind.google/blog/strengthening-singapores-ai-future-a-new-national-partnership/
2•pretext•37m ago•0 comments

Microsoft Agrees to $250M Settlement with Activision Blizzard Shareholders

https://www.law.com/delbizcourt/2026/05/22/microsoft-agrees-to-250m-settlement-with-activision-bl...
2•1vuio0pswjnm7•37m ago•0 comments

White House ordering agencies to place its new app on all employees' govt phones

https://www.govexec.com/management/2026/05/white-house-ordering-agencies-place-its-new-app-all-em...
4•mikhael•37m ago•0 comments

US tells foreigners seeking green cards: Return to your countries to apply

https://www.reuters.com/legal/government/uscis-tells-foreigners-seeking-green-cards-return-your-c...
2•tartoran•38m ago•1 comments

Publishing's Latest Piracy Problem: Audiobooks on YouTube

https://www.nytimes.com/2026/05/21/books/audiobook-piracy-youtube.html
1•thm•41m ago•0 comments

Judge considers ordering Meta to revamp its apps

https://www.politico.com/news/2026/05/22/meta-judge-trial-public-nuisance-facebook-00934485
1•1vuio0pswjnm7•42m ago•0 comments

Crypto industry braces for quantum computing threat

https://www.ft.com/content/99c1c1e7-1a1c-479c-9fc8-e21aea5c3f0e
6•thm•44m ago•2 comments

Waymo suspends all freeway rides over safety

https://www.latimes.com/business/story/2026-05-22/waymo-suspends-all-freeway-rides-over-safety
3•1vuio0pswjnm7•44m ago•0 comments

Starbucks scraps AI inventory tool after nine months

https://qz.com/starbucks-scraps-ai-inventory-tool-nomadgo-052226
2•thunderbong•44m ago•0 comments

In India, You Can Get Milk Delivered Faster Than It Takes to Make Coffee

https://www.wsj.com/business/logistics/in-india-you-can-get-milk-delivered-faster-than-it-takes-t...
2•JumpCrisscross•45m ago•0 comments

Google appeals search monopoly ruling, says it won business 'fair and square'

https://www.theverge.com/policy/936175/google-search-monopoly-ruling-appeal
2•thm•46m ago•0 comments

Cannes Film Cost $500k to Make. $400k Was AI Compute Costs

https://www.wsj.com/cio-journal/this-cannes-film-cost-500-000-to-make-400-000-was-ai-compute-cost...
5•JumpCrisscross•47m ago•0 comments

How to Be a Real Elite Programmer

https://skorks.com/2010/05/how-to-be-a-real-elite-programmer-and-make-sure-everybody-knows-it/
2•mahirsaid•50m ago•0 comments

The Fonts of the U.S. Federal Courts

https://daringfireball.net/2026/05/the_fonts_of_the_us_federal_courts
1•Tomte•53m ago•0 comments

Microsoft's new multi-model agentic security system tops leading benchmark

https://www.microsoft.com/en-us/security/blog/2026/05/12/defense-at-ai-speed-microsofts-new-multi...
3•uniclaude•59m ago•0 comments

Lisa's Copy (and Cut, and Paste)

https://unsung.aresluna.org/lisas-copy-and-cut-and-paste/
1•zdw•1h ago•0 comments