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.

Placky Explains Slide Rules (2021)

https://randomlyunique.com/plancky/2021/slide-rules/index.html
1•kqr•4m ago•0 comments

SoduWork – Open-source workbench where agents must prove their work

https://github.com/mdiri-ai/SoduWork
1•WavyPeng•5m ago•0 comments

There's a New Disruptor Throwing Terrible AI Slop at Sports Fans

https://defector.com/theres-a-new-disruptor-throwing-terrible-ai-slop-at-sports-fans
1•abbadadda•5m ago•0 comments

Deadweight: What your Claude Code setup costs on every request

https://github.com/msertdev/deadweight
1•msertdev•9m ago•0 comments

Binaryen – compiler and toolchain library for WebAssembly, written in C++

https://github.com/webassembly/binaryen
1•peter_d_sherman•9m ago•1 comments

I Don't Read Code Anymore [video]

https://www.youtube.com/watch?v=RO52GyQQMKg
2•zwischenzug•11m ago•0 comments

Florida man sentenced to 60 months for distributing monkey torture videos

https://www.justice.gov/opa/pr/miami-area-man-sentenced-60-months-prison-distributing-sexual-tort...
1•illidan1000•15m ago•1 comments

Ruby2ẞhell blog by one of the reporters

https://durendal.sh/blog/ruby-case-mapping-bugs
1•realansgar•16m ago•0 comments

Who Made the Strawberry?

https://strawberry-methodology.pages.dev/
1•DeepLogin•18m ago•0 comments

SSD prices will start going down the second half of next year

https://www.drivevault.io/blog/when-will-hard-drive-prices-come-down.html
2•illidan1000•18m ago•3 comments

NGINX2Root: Remote Code Execution vulnerabilities in Nginx

https://lwn.net/Articles/1108362/
3•bashhq_r•19m ago•0 comments

Taylor Swift's favorite restaurants and hotels

https://wherecelebsgo.com/people/taylor-swift
2•ispotcelebs•20m ago•2 comments

Show HN: Drisp – put app screenshots on true-size 3D device models

https://drint.io/drisp
2•Dan96•21m ago•0 comments

The Hidden Geography of AI [video]

https://www.youtube.com/watch?v=K-qll_Yhfms
2•jonbaer•26m ago•0 comments

Do not buy RAM, compress

https://curiousbits.nl/blog/do-not-buy-ram-compress/
3•Ecno92•26m ago•1 comments

Telegram Dictator

https://macos-beta.telegram.org/dictator/
2•SweetSoftPillow•27m ago•0 comments

ICE offers contractor operating deportation flights windfall and secrecy

https://www.theguardian.com/us-news/2026/nov/18/ice-deportation-flights-csi-deal
1•rob74•27m ago•0 comments

AI found more critical bugs in another widely used tech running 225M websites

https://www.theregister.com/security/2026/11/18/ai-found-more-critical-bugs-in-another-widely-use...
2•nephihaha•28m ago•0 comments

0.87.0 – Boot without the card, and a KVM switch – ESP-KVM

https://espkvm.io/blog/0-87-0-boot-without-the-card/
2•dexif•30m ago•0 comments

EU commission hit by cyber attack

https://en.philenews.com/international/european-commission-cyberattack-personal-data-staff-system...
3•lode•33m ago•0 comments

Bloom Exchange – Double-blind negotiation sandbox and Ed25519 receipts for MCP

https://github.com/astyboyy-ship-it/bloom-exchange
1•BloomExchangeAi•33m ago•0 comments

The Codex Sandbox

https://openai.com/index/inside-the-codex-sandbox/
1•giuliomagnifico•34m ago•0 comments

Characterizing LLM Agent Behaviors in Module Shadowing Environments

https://arxiv.org/abs/2610.40716
1•TanZeng•35m ago•0 comments

Inworld TTS looks not bad at all

https://inworld.ai/tts
1•olup•35m ago•0 comments

Redict Deprecated in Favor of Valkey

https://redict.io/posts/2026-11-17-redict-deprecated/
1•DeepLogin•35m ago•0 comments

Anthropic to debut IPO with a valuation of $1.5T

https://apnews.com/article/anthropic-ipo-nasdaq-ai-b6a74b8949021207dc162fcc876c4649
1•armcat•35m ago•0 comments

Show HN: I made PocketTag, forward PocketAI notes with tag to email

https://www.pockettag.link
1•eekay•36m ago•0 comments

Palo Alto Networks to Buy AI-Startup Applied Compute for $4.5B

https://www.wsj.com/tech/ai/palo-alto-networks-to-buy-ai-startup-applied-compute-for-4-5-billion-...
1•ronfriedhaber•38m ago•0 comments

Can you unlock the bootloader on the Motorola G Stylus 2025 from Straight Talk?

1•timtim51251•41m ago•0 comments

Show HN: SJF4J – Treat Java Objects as JSON

https://github.com/sjf4j-projects/sjf4j
1•hannyu•41m ago•0 comments