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.

Arista 7060XE7 Series

https://www.arista.com/en/products/7060xe7-series
1•berlianta•46s ago•0 comments

Incorruptible

https://steveblank.com/2026/06/09/incorruptible/
2•sblank•1m ago•0 comments

How to Revive a Wemo Smart Device

https://retronetwork.net/guides/wemorevive/
1•reaperducer•2m ago•0 comments

Fastsync: I doubled rsync's local copy speed

https://www.sami-lehtinen.net/blog2/fastsync-how-i-doubled-rsyncs-speed
2•Sami_Lehtinen•3m ago•0 comments

Show HN: Instagram for Gmail, a feed where mail expires

https://github.com/matiasbattocchia/mizzle-mail
1•cabra•3m ago•0 comments

Meta alleges NSO violated spyware injunction with new WhatsApp attacks

https://arstechnica.com/tech-policy/2026/06/meta-alleges-nso-violated-spyware-injunction-with-new...
1•stalfosknight•4m ago•0 comments

Granola Notes from WWDC 2026

https://wwdc.jacobstechtavern.com/2026
1•jakey_bakey•6m ago•1 comments

I ran an arbitrage bot on Polymarket. Here are the real numbers

https://kacho.io/polymarket-arbitrage-real-numbers
1•kachoio•6m ago•0 comments

America's Workforce Academy by Meta

https://www.meta.com/actions/americas-workforce-academy/
1•burger_moon•8m ago•0 comments

Hires Chess Trainer

https://github.com/gaelazzo/python_chess
1•gaelazzo•8m ago•0 comments

The Data the CIA World Factbook Left Orphaned

https://bamwor.com/en/reports/cia-world-factbook-orphaned-data
1•speckx•8m ago•0 comments

Apple Container Hits 1.0

https://github.com/apple/container/releases/tag/1.0.0
1•frastefanini•8m ago•0 comments

EU Says Decision Not to Launch Siri AI in Europe Is Apple's Alone

https://www.macrumors.com/2026/06/09/eu-says-decision-not-to-launch-siri-ai-in-europe-is-apples/
3•bushwart•11m ago•0 comments

Symbolicating a minified stack trace by hand: why source maps can't do it alone

https://tracewayapp.com/blog/deep-dive-into-the-sourcemaps
2•dusanstanojevic•13m ago•0 comments

What an $83,000/month AWS EC2 server does

https://www.youtube.com/watch?v=ndUMnCjrU1A
3•sunbirdLabs•14m ago•1 comments

Meta account recovery allowed unauthenticated access to full account PII

https://twitter.com/IntCyberDigest/status/2063406949354311935
4•croes•14m ago•0 comments

$250M iPhone Settlement Proposed in Apple Lawsuit over Misrepresented AI

https://www.classaction.org/news/250m-iphone-16-settlement-resolves-apple-lawsuit-over-allegedly-...
2•Topfi•15m ago•0 comments

AI takes people at their word

https://futuresearch.ai/ai-takes-people-at-their-word/
3•mckennameyer•16m ago•1 comments

Show HN: Ocdify – Offline AI that organizes your Mac files, 100% on-device

https://ocdify.vyanlabs.in
2•sourishsarmah•16m ago•0 comments

Personal apps with no back end: static site and OAuth PKCE and OpenRouter

https://type2fun.net/infinitely-scalable-personal-apps.html
2•msyea•16m ago•1 comments

Show HN: Mac screen recorder that adds zoom animations from click data

https://screencharm.com/
3•snazarov92•16m ago•0 comments

Apple made a request to the EC to be exempted from interop obligations under DMA

https://audiovisual.ec.europa.eu/en/media/video/I-290903
5•latexr•17m ago•1 comments

Exceptions should not be handled – they should be aggregated

https://zenodo.org/records/20492768
2•ErystelaThevale•17m ago•0 comments

Industrial 3-D Printers Are Getting Cheaper

https://www.nytimes.com/2026/06/09/us/3d-printer-industrial-formlabs.html
4•dogichow•19m ago•0 comments

We have to change the rules of security

https://opensourcesecurity.io/2026/06-rules-of-security/
2•RyeCombinator•20m ago•0 comments

Unified Controllable and Faithful Text-to-CAD Generation with LLMs

https://arxiv.org/abs/2604.19773
4•PaulHoule•22m ago•0 comments

Self-hosting email the hard way from your own routable IPv4 block up

https://anil.recoil.org/notes/recoil-self-hosting-2026
2•birdculture•23m ago•0 comments

Only Bounds

https://smallcultfollowing.com/babysteps/blog/2026/06/09/only-bounds/
2•EvgeniyZh•23m ago•0 comments

Keystone: The First Agent Harness Framework

https://medium.com/@tacoda/introducing-keystone-the-first-agent-harness-framework-3d30ead01b05
4•tacoda•23m ago•0 comments

Show HN: Sandbox AI-app lifecycle, from build to run

https://capakit.com/
4•leroman•24m ago•1 comments