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.

We put the Bun Rust rewrite in production

1•sorenbs•1m ago•0 comments

Show HN: outpaint.com fit any video to any screen

https://outpaint.com/
1•danielgh7•2m ago•0 comments

Show HN: Proximity BLE Chat – connectionless chat using BLE advertisements

https://vetch.pages.dev/blog/pblec/
1•vetchzero•2m ago•0 comments

GitHub Authentication issues related to API requests

https://www.githubstatus.com/incidents/fcj3088jg1wx
1•Multicomp•2m ago•1 comments

Gravity has always been quantum mechanical: it is the wrong thing to quantise

https://zenodo.org/records/20622089
1•danieltanfh95•3m ago•0 comments

Monitoring my restic backups with Uptime Kuma

https://janlukas.blog/dev/monitoring-restic
1•speckx•6m ago•0 comments

Show HN: Inkfox – One workspace for AI image gen, editing, and photo-to-video

https://inkfox.app
1•ninglz•7m ago•0 comments

Barocal can cool your food and drink by squeezing a hunk of plastic crystals

https://techcrunch.com/2026/05/04/barocal-can-cool-your-food-and-drink-by-squeezing-a-hunk-of-pla...
1•PaulHoule•7m ago•0 comments

Please Don't Start an Open Source Project, Join One

https://jerf.org/iri/post/2026/please_dont_start_a_project/
1•jerf•7m ago•0 comments

Writers Against AI

https://www.writersagainstai.net/essay
1•danielam•8m ago•0 comments

US bombs Iran's water facilities

https://www.aljazeera.com/news/2026/6/10/us-bombs-irans-water-facilities-why-thats-so-significant
2•bhouston•8m ago•1 comments

Fuck Your Platform

https://fuckyourplatform.com
1•allreduce•9m ago•0 comments

In a U.S. First, Solar Supplied More Power Than Coal Last Month

https://e360.yale.edu/digest/us-solar-coal
2•Brajeshwar•9m ago•0 comments

Show HN: Papermill Press – An AI-friendly markup language for PDF generation

7•davidpapermill•10m ago•6 comments

Show HN: The layer between your SaaS platform and your customers' domains

https://www.razix.app
1•AdityaPatwa07•13m ago•0 comments

Readwise Reader as a Blogging Assistant

https://ruk.ca/content/readwise-reader-blogging-assistant
1•speckx•14m ago•0 comments

What We Learned from a Multi-Service Vulnerability Disclosure

https://labs.ripe.net/author/eleonora-petridou/what-we-learned-from-a-multi-service-vulnerability...
1•jruohonen•14m ago•0 comments

Pythagora-io/GPT-pilot Compromised – Shai-Hulud Cred Stealer Blocked by ruff

https://www.stepsecurity.io/blog/pythagora-io-gpt-pilot-compromised-on-github-shai-hulud-credenti...
1•yakkomajuri•16m ago•0 comments

How we made GitHub Actions cache up to 6x faster

https://avrea.com/blog/how-we-made-github-actions-cache-up-to-6x-faster
4•leolannenmaki•16m ago•0 comments

Aastronomers discover the earliest known flickering quasar

https://news.mit.edu/2026/mit-astronomers-discover-earliest-known-flickering-quasar-0608
1•gmays•16m ago•0 comments

HoneyAI – AI-powered honeypot replacing Cowrie/OpenCanary/Galah with one process

https://github.com/martidu4/honey-ai
1•whatda77•16m ago•0 comments

Post-training speech models for better interactivity

https://kyutai.org/blog/2026-06-10-interactivity
1•pr337h4m•17m ago•0 comments

Blinded by the Light DOM

https://meyerweb.com/eric/thoughts/2023/11/01/blinded-by-the-light-dom/
1•ravenical•18m ago•0 comments

Arcan: 10 Years of Online Obscurity

https://arcan-fe.com/2026/06/02/arcan-10-years-of-online-obscurity/
1•birdculture•18m ago•0 comments

The iPad was on Tailscale: a WebRTC debugging story

https://p2claw.com/blog/2026-06-09-the-ipad-was-on-tailscale/
3•syllogistic•19m ago•0 comments

Finding joy in assisted coding, notes from a senior engineer

https://vadirn.io/notes/finding-joy-in-ai-assisted-coding
2•camimirabal•19m ago•0 comments

Show HN: ColorMeUp Lab – an OKLCH color scale generator for design systems

https://lab.colormeup.co/p
2•gilbarbara•20m ago•0 comments

Claude Fable 5 Launches at #1 on the Artificial Analysis Intelligence Index

https://artificialanalysis.ai/articles/claude-fable-5-mythos-intelligence-index
3•himata4113•21m ago•0 comments

US Consumer Price Index up 4.2%

https://www.bls.gov/news.release/cpi.nr0.htm
6•ortusdux•21m ago•1 comments

Get Out of the Chat Box

https://newsletter.ownersnotrenters.com/p/get-out-of-the-chat-box
2•stlhood•22m ago•0 comments