frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Ask HN: How are you collecting video testimonials without annoying ur customers?

1•touseefbuilds•1m ago•0 comments

What happens when everything becomes content?

https://velvetnoise.substack.com/p/what-happens-when-everything-becomes
1•jger15•3m ago•0 comments

Cacheman: A Comprehensive Last-Level Cache Management System

https://dl.acm.org/doi/10.1145/3774934.3786415
1•blakepelton•4m ago•1 comments

Show HN: Rate and Review Recruiters

https://www.recruiter.info/
1•recruiterinfo•4m ago•0 comments

Own your GH stars and HN upvotes

https://github.com/mipmip/startaste
1•mipselaer•5m ago•1 comments

Official Launch: DC-ROMA RISC-V Mainboard III for Framework Laptop 13

https://store.deepcomputing.io/products/dc-roma-risc-v-mainboard-iii-for-framework-laptop-13
1•YesterdayOK94•5m ago•0 comments

A 3.5 MB C++ engine for deterministic RAG deduplication hitting 30 GB/s

https://github.com/corbenicai/merlin-community
1•Corbenic•5m ago•0 comments

Anthropic is proof that SaaS isn't dead

https://www.octavehq.com/post/claude-code-wont-replace-saas
1•cmogni1•5m ago•0 comments

Sam Altman's Business Dealings Under GOP Scrutiny Ahead of OpenAI's IPO

https://www.wsj.com/tech/ai/sam-altmans-business-dealings-under-gop-scrutiny-ahead-of-openais-ipo...
1•1vuio0pswjnm7•6m ago•0 comments

Harnessing Bio-Intelligence to Build Living Machines with Nervous Systems [video]

https://www.youtube.com/watch?v=7O1Al5VQl_Q
1•surprisetalk•6m ago•0 comments

Ask HN: ADHD Is

https://0xff.nu/adhd/
1•hxii•6m ago•1 comments

Our snarky agent reviews withone.ai website [video]

https://www.youtube.com/watch?v=wZY5O69otyM
1•fcpguru•7m ago•0 comments

Counterfactual analysis, an (organizationally) unloved method

https://www.counting-stuff.com/counterfactual-analysis-an-organizationally-unloved-method/
1•speckx•7m ago•0 comments

Google settles racial discrimination lawsuit for $50M

https://apnews.com/article/google-discrimination-black-employees-class-action-settlement-6a23689d...
1•1vuio0pswjnm7•8m ago•0 comments

DuckDB and Ggsql

https://bedeverewise.app/demo
1•caerbannogwhite•8m ago•1 comments

eBay rejects GameStop's takeover bid

https://qz.com/ebay-rejects-gamestop-takeover-bid-051226
3•mgh2•9m ago•0 comments

Boomba is a Roomba with every upgrade imaginable

https://blog.arduino.cc/2026/05/05/boomba-is-a-roomba-with-every-upgrade-imaginable/
1•PaulHoule•10m ago•0 comments

Kubernetes CPU Management with cgroups

https://roszigit.com/en/blog/kubernetes-cpu-request-limit
1•lkanwoqwp•10m ago•0 comments

Adversaries Leverage AI for Vulnerability Exploitation

https://cloud.google.com/blog/topics/threat-intelligence/ai-vulnerability-exploitation-initial-ac...
1•nedruod•11m ago•0 comments

Is using AI wrong? A review of six popular anti-AI arguments

https://www.seangoedecke.com/is-ai-wrong/
4•cookabb•11m ago•0 comments

Euler function in the context of q-series and partitions

https://www.johndcook.com/blog/2026/05/11/euler-function/
1•ibobev•11m ago•0 comments

Show HN: Statewright – Visual state machines that make AI agents reliable

https://github.com/statewright/statewright
1•azurewraith•12m ago•0 comments

Tom's Namespaces: An Odin Fanfic

https://zylinski.se/posts/toms-namespaces/
1•ibobev•12m ago•0 comments

OpenAI gives European companies access to its latest model GPT-5.5-Cyber

https://www.reuters.com/sustainability/boards-policy-regulation/openai-gives-european-companies-a...
1•TechTechTech•13m ago•0 comments

Texas accuses Netflix of spying on children in new lawsuit

https://www.theguardian.com/technology/2026/may/11/texas-sues-netflix-lawsuit
2•Brajeshwar•13m ago•0 comments

Retrace – A macOS app to browse your Facebook data export like a time machine

https://testflight.apple.com/join/P1qEMJAM
1•TallScot•13m ago•1 comments

Stop using TryHackMe – AI training on userdata

https://inv.nadeko.net/watch?v=s1TNS1wN920
1•zdeb7•14m ago•0 comments

Kargo TUI

https://github.com/unknwon/kargo-tui
1•joe2010xtmf•14m ago•1 comments

Show HN: MosaicQR – QR codes that double as pixel art of any simple image

https://mosaicqr.com
1•mjohnson42•15m ago•0 comments

Show HN: AI IQ – Mapping AI benchmarks onto a common capability scale

https://www.aiiq.org/
1•shea256•16m ago•0 comments