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: Availability Tracker – A Simple Way to Track Items

https://availabilitytracker.app/
1•jkferland•1m ago•0 comments

History of T

https://paulgraham.com/thist.html
1•tosh•3m ago•0 comments

Show HN: Window Switcher – Better same-app window switching for macOS

https://github.com/hanguokai/window-switcher
1•hanguokai•4m ago•0 comments

Oura Ring 5 Review

https://www.theguardian.com/technology/2026/jun/30/oura-ring-5-review-smart-ring-health-tracking
1•tosh•4m ago•0 comments

Show HN: Escalate – human as a service for your agent

https://escalateto.me/landing
1•oleh_vell•4m ago•0 comments

Webhookvault

https://webhookvault.onrender.com/login
1•hydra2297•5m ago•0 comments

Belgian politicians would rather risk treason charges than trust engineers

https://mikhailian.mova.org/posts/325-belgian-politicians-would-rather-risk-treason-charges-than-...
1•sam_lowry_•5m ago•0 comments

Stop the Tester's Inferiority Complex: QA and Dev Are Equals

https://medium.com/@vincent.ferreira/stop-the-testers-inferiority-complex-qa-and-dev-are-equals-9...
1•vincenfer•6m ago•0 comments

The Scanline Sweeper: A Glyph Rendering Algorithm [video]

https://www.youtube.com/watch?v=B9bztU1sTFA
1•alan665•6m ago•0 comments

Vantor's Open Satellite Feed

https://tech.marksblogg.com/vantor-satellite-imagery.html
1•marklit•7m ago•0 comments

Apple acquires Play, award-winning SwiftUI prototyping tool

https://www.cultofmac.com/news/apple-acquires-play-swiftui-app
1•terelueli•11m ago•0 comments

Show HN: WtfisMyRepo – Use Claude to understand most complex codebases in mins

https://github.com/nandnijaiswal/wtfismyrepo
2•udit_50•11m ago•1 comments

Beyond Denial How Oil Execs Shaped a Landmark Climate Study

https://www.propublica.org/article/wedges-climate-research-bp-fossil-fuel-princeton
1•_____k•12m ago•0 comments

Porting half life 2 to the browser

https://www.slqnt.dev/blog/hl2-in-web
1•QuantumNomad_•13m ago•0 comments

Show HN: Classic Minesweeper

https://guokai.dev/minesweeper/
1•hanguokai•14m ago•0 comments

China's Geely to Ship First Lotus EVs to Canada

https://www.reuters.com/world/asia-pacific/chinas-geely-ship-first-lotus-evs-canada-july-under-ca...
1•Alien1Being•19m ago•0 comments

Show HN: Mocca – A Mac email client powered by local AI

https://mocca.run/
1•brighbun•20m ago•0 comments

A Framework for Representing Knowledge – Marvin Minsky (1975) [pdf]

https://courses.media.mit.edu/2004spring/mas966/Minsky%201974%20Framework%20for%20knowledge.pdf
1•the-mitr•21m ago•0 comments

Actionable Security is Missing on the EU Horizon

https://mikhailian.mova.org/posts/326-actionable-security-is-missing-on-the-eu-horizon.html
2•sam_lowry_•22m ago•1 comments

PDP-1 Replica: The PiDP-1

https://obsolescence.dev/pdp1.html
1•kqr•22m ago•0 comments

Prime Is Not Youth, Money, or Status. It Is Something More Human

https://kanyilmaz.me/2026/03/28/prime-is-1-to-4.html
1•demiculus•22m ago•0 comments

Anthropic embedded spyware in Claude Code – and attempted to hide it from you

https://www.reddit.com/r/ClaudeCode/s/Z690c1Y9Zk
3•cromka•24m ago•0 comments

Australia's Solar Sharer: free electricity 3 hours/day starting July 1

https://www.abc.net.au/news/2026-06-29/free-electricity-solar-sharer-scheme/105999242
1•indynz•26m ago•0 comments

I built a one-time-payment alternative to subscription cloud movers

https://www.gtransfer.app
1•localappointmnt•29m ago•0 comments

Towards Understandable Software

https://gracefulliberty.com/articles/towards-understandable-software/
1•birdculture•29m ago•0 comments

Google's Whitepaper on SDLC in the Agentic Era

https://www.kaggle.com/whitepaper-the-new-SDLC-with-vibe-coding
1•shahargl•31m ago•0 comments

Good article about local LLM on MacBook Air

https://www.xda-developers.com/ollama-new-mlx-engine-local-llm-mac-twice-fast/
1•taintech•31m ago•0 comments

Show HN: Smug – single binary, dependency free session manager for tmux

https://github.com/ivaaaan/smug
1•iillexial•31m ago•0 comments

Anthropic embedded spyware in Claude Code – and attempted to hide it from you

https://old.reddit.com/r/ClaudeAI/comments/1ujila1/anthropic_embedded_spyware_in_claude_code_and/
2•theanonymousone•32m ago•0 comments

AMD Stretches Server DRAM with Flash Extended Memory

https://www.nextplatform.com/store/2026/06/29/amd-stretches-server-dram-with-flash-extended-memor...
1•rbanffy•36m ago•0 comments