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.

Show HN: How to Use Unlimited Token Plan with OpenCode

https://twitter.com/CanopyWave_AI/status/2069957571184832525
1•Timmyzzz•3m ago•0 comments

Anthropic Claims Alibaba Ran 'Brazen' Campaign to Access Its Claude AI Model

https://www.wsj.com/tech/ai/anthropic-claims-alibaba-ran-brazen-campaign-to-access-its-claude-ai-...
1•flowerlad•5m ago•0 comments

ORA: Smaller Models. Same Intelligence

https://www.oracomputing.com/
1•doener•7m ago•0 comments

The Era of Tokenmaxxing Is Over

https://techcrunch.com/2026/06/24/companies-are-scrambling-to-stop-employees-from-maxing-out-ai-b...
1•sambcui•7m ago•0 comments

Show HN: Tree, truth, druid and tar share one Proto-Indo-European root

https://p.migdal.pl/tree-of-tree/
1•stared•7m ago•0 comments

Vibecoding a High Performance System

https://andrewkchan.dev/posts/systems.html
2•davedx•14m ago•0 comments

NextBSD – FreeBSD ABI-compatible kernel with Mach built in and launchd

https://nextbsd.org/
2•sunshine-o•17m ago•0 comments

Hollywood and Big Tech Are Preparing for War

https://www.hollywoodreporter.com/business/business-news/hollywood-big-tech-war-entertainment-pla...
1•thm•18m ago•0 comments

Show HN: Cc-preview – Browse images pasted into Claude Code sessions

https://github.com/Watari995/cc-preview
1•Watari995•18m ago•0 comments

Flatpak package for GIMP 0.54.1 (1996)

https://gitlab.gnome.org/balooii/gimp-0.54
1•birdculture•22m ago•0 comments

13 years and $500M for a stage adapter? Report justifies NASA cancellations

https://arstechnica.com/space/2026/06/analysis-finds-the-exploration-programs-nasa-recently-cance...
1•rbanffy•22m ago•0 comments

Show HN: JSON Bonsai – browser JSON viewer that stays smooth on 100k+ nodes

https://github.com/pedrosousa13/JSON-Bonsai
1•pedrosousa•24m ago•0 comments

How to Build 1-Minute OHLC Bars from Non-Uniform Market Snapshot Data

https://medium.com/@DolphinDB_Inc/how-to-build-1-minute-ohlc-bars-from-non-uniform-market-snapsho...
2•dbaa4real•24m ago•0 comments

Show HN: Best Alternative for Zendesk, Intercom, and Freshdesk

2•Daniel-Pan•25m ago•0 comments

Monolith Rift, a brutalist corridor of light and impossible scale

https://sand-morph.up.railway.app/monolith-rift
4•echohive42•27m ago•1 comments

UMLBot: Converting natural language and code excerpts to editable UML diagrams

https://www.sciencedirect.com/science/article/pii/S2352711026002815
1•geox•28m ago•0 comments

Rcarmo/kata: Repetition makes perfect

https://github.com/rcarmo/kata
1•rcarmo•35m ago•0 comments

Claude Opus 4.5 vs. GLM-5.2

https://gopeekapp.blogspot.com/2026/06/glm-52-vs-claude-opus-45.html
1•bhartipoddar•36m ago•0 comments

US fighter pilot avoids British trial after raping a woman in England

https://www.theguardian.com/uk-news/ng-interactive/2026/jun/25/us-fighter-pilot-strangled-woman-e...
4•Alien1Being•39m ago•1 comments

Qualcomm Investor Day 2026 Data Center Announcements CPUs

https://www.servethehome.com/qualcomm-investor-day-2026-data-center-announcements-cpus-ai-acceler...
1•ksec•42m ago•1 comments

A Y2K bug surfaced 26 years late today

https://old.reddit.com/r/sysadmin/comments/1uetdyw/a_y2k_bug_surfaced_26_years_late_today/
1•thunderbong•42m ago•0 comments

Calculate Real-Time Implied Volatility for Commodity Options

https://medium.com/@DolphinDB_Inc/how-we-built-a-real-time-implied-volatility-engine-for-commodit...
2•Polly_Liu•44m ago•0 comments

Warrior Cats Name Generator

https://warriorcatsnamegenerator.net/
1•woflying•45m ago•0 comments

We Made Trading Signals Microsecond-Level Easy – 100 Factors in 40µs

https://medium.com/@DolphinDB_Inc/we-just-made-trading-signals-microsecond-level-easy-100-factors...
2•CrazyTomato•45m ago•0 comments

You are leaving tech, what's next?

https://www.seattletimes.com/business/local-business/older-tech-workers-are-tapping-out-early-her...
1•ynac•45m ago•1 comments

Long distance Uber alternative (for passengers and drivers)

https://localsride.com/en
1•dr_dimitru•45m ago•0 comments

Will AI replace technical writers?

https://willaireplacetechnicalwriters.com/
1•theletterf•46m ago•1 comments

Got access to Gemini's actual thinking

1•StizzurpXDD•46m ago•0 comments

The AI Coding Era Makes Boring Tests More Valuable

https://www.vincentschmalbach.com/the-ai-coding-era-makes-boring-tests-more-valuable/
1•vincent_s•47m ago•0 comments

10x More Selective

https://yosefk.com/blog/10x-more-selective.html
1•tosh•48m ago•0 comments