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.

Best Study Abroad Consultants in Kerala – Start Your Global Education Journey

1•agasto•1m ago•0 comments

Dutch privacy watchdog AP advises consumers not to purchase smart glasses

https://www.reuters.com/business/media-telecom/dutch-privacy-watchdog-ap-advises-consumers-not-pu...
1•giuliomagnifico•2m ago•0 comments

Show HN: Interviewer assistant – AI open source

https://github.com/blackarck/intaiassist
1•blackarck•2m ago•0 comments

Kokoro Yoruba – Native Tonal Yoruba TTS on StyleTTS2 / Kokoro-82M

https://github.com/Akintunde102/kokoro-yoruba
1•Akintunde102•3m ago•0 comments

Vim Classic 8.3.1 Released

https://vim-classic.org/news/vim-8.3.1-released.html
1•birdculture•5m ago•0 comments

Telegram now works on the "both too big and too small" iPhone

https://twitter.com/durov/status/2123542555321397660
1•zdkaster•5m ago•0 comments

Block Anything on YouTube

2•devanshvarshney•7m ago•0 comments

The Most Powerful Men in America Are Eating Only Steak and Sauerkraut. Could I?

https://www.nytimes.com/2026/08/04/magazine/trump-rfk-steak-kimchi-diet.html
1•Kaibeezy•12m ago•1 comments

The Making of Oxygene

https://jeanmicheljarre.com/aaa/the-making-of-oxygene
1•hggh•12m ago•0 comments

PowerShell 7 is coming to Windows

https://devblogs.microsoft.com/powershell/powershell-7-coming-to-windows/
1•AndrewDucker•17m ago•0 comments

Working as Intended [video]

https://www.youtube.com/watch?v=anwKw6oWsfg
1•stefanv•17m ago•0 comments

Startups call on Commission to salvage or scrap EU Inc proposal

https://www.politico.eu/article/eu-startup-lobby-groups-call-upon-commission-to-withdraw-eu-inc-p...
2•FinnLobsien•20m ago•2 comments

US National Cyber Director fired after series of outages

https://www.bbc.co.uk/news/articles/cwz0k3nn5p5mo
1•mrroryflint•24m ago•0 comments

Tech outages have fueled a blackout panic – and a prepping boom

https://www.nbcnews.com/news/us-news/tech-outages-doomsday-panic-stockpiling-supplies-monetizing-...
1•geox•28m ago•1 comments

/N

https://lobox.com/articles/how-to-write-a-cover-letter-step-by-step-guide-with-template
2•LoboxPlatform•29m ago•0 comments

Spy court: U.K. must admit it ordered an Apple backdoor

https://www.heise.de/en/news/Spy-court-U-K-must-admit-it-ordered-an-Apple-backdoor-11531852.html
2•slow_typist•33m ago•0 comments

November 2026 Top500 New Systems Are Few and Far Between – ServeTheHome

https://www.servethehome.com/november-2026-top500-new-systems-analysis/
2•rbanffy•34m ago•0 comments

Thoughts from Before and After AI

https://chevyclutchfoot.substack.com/p/thought-process-before-and-after
1•noduerme•37m ago•0 comments

The Myth of the "One Shot"

https://blog.vandesande.design/every-one-shot-is-slop
3•mrcgnc•37m ago•0 comments

Codeberg.org domain unavailable – investigation and post-mortem

https://codeberg.org/Codeberg/changelog/issues/7#issuecomment-28100157
2•BrunoBernardino•37m ago•0 comments

Greece's PM Mitsotakis and Greek AI Founders [video]

https://www.youtube.com/watch?v=Gis_2Y_pLOo
1•greekanalyst•38m ago•0 comments

Google Officially Rolls Out Collapsible Sidebar on Search

https://www.seroundtable.com/google-search-rolls-out-ai-mode-sidebar-42580.html
2•thm•38m ago•0 comments

AI Is Making China's Jobs Slump Worse

https://www.bloomberg.com/graphics/2026-china-ai-jobs-slump/
4•thm•38m ago•0 comments

Token fraud is here and it's BAD [video]

https://www.youtube.com/watch?v=ZDpP7JXPlhc
2•vismit2000•38m ago•0 comments

Google Disrupts Its Search Advertising with Its Embrace of A.I

https://www.nytimes.com/2026/11/19/technology/google-search-ads-ai.html
3•thm•38m ago•1 comments

Cool Flex AI Bro

https://interconnected.org/home/2026/11/20/flex
2•Tomte•43m ago•0 comments

Google DeepMind AI predicts Hurricane Melissa path and strength

https://hyper.ai/cn/stories/cd12451364b2d99638b382e350c3d12a
2•HyperAI•46m ago•0 comments

Tapelark's first month: 54 customers and a little over €2,100

https://victorantos.com/posts/tapelark-first-month/
1•victorbuilds•48m ago•0 comments

The Content–Geometry Tradeoff in World Models: When JEPA Learns Latent Maps [pdf]

https://cdn.agenticlearning.ai/25c41dcbc4b7a11e/content-geometry-tradeoff-2026.pdf
1•brandonb•49m ago•0 comments

Show HN: NetLoom, a live view into the Nano block lattice

https://viz.openrai.org/netloom.html
1•cbrunnkvist•49m ago•0 comments