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.

The Fantastically Strange Origin of Most Coal on Earth (2016)

https://www.nationalgeographic.com/science/article/the-fantastically-strange-origin-of-most-coal-...
1•downbad_•1m ago•0 comments

Calcium and/or Vit D to prevent fractures&falls: systematic review&meta-analysis

https://www.bmj.com/content/393/bmj-2025-088050
1•bookofjoe•1m ago•0 comments

Regular Expression Matching Can Be Simple and Fast (2007)

https://swtch.com/~rsc/regexp/regexp1.html
1•poly2it•2m ago•0 comments

Amazon's search bar will invent AI-generated products you can't buy

https://www.theverge.com/tech/942547/amazon-search-bar-ai-images
1•pavel_lishin•3m ago•0 comments

Show HN: Cf-colo-watcher – Monitor which Cloudflare colo is serving you

https://github.com/haydenjames/cf-colo-watcher
1•ashitlerferad•4m ago•0 comments

A Pro-AI Super PAC's Meme Sockpuppets

https://twitter.com/themidasproj/status/2062188060004241592
1•bhouston•5m ago•0 comments

Better-PaaS – A Lightweight Self-Hosted PaaS in Go, Nixpacks, and Caddy

https://github.com/sumon-ohid/better-paas
1•sumonoahid•5m ago•0 comments

Netgear Nighthawk RS700S: Red Team Level1Diagnostic

https://forum.level1techs.com/t/netgear-nighthawk-rs700s-red-team-level1diagnostic/250614
1•ogurechny•6m ago•0 comments

SpaceX IPO: Nice Try Though [video]

https://www.youtube.com/watch?v=IHD8BDFYyGI
1•magnetised•9m ago•0 comments

How Safari search engine extensions work

https://lapcatsoftware.com/articles/2025/2/2.html
1•microflash•10m ago•0 comments

Marks and Spencer chief's pay slashed by £3M after cyberattack turmoil

https://www.cityam.com/ms-pay-slashed-after-cyberattack-turmoil/
2•speckx•10m ago•1 comments

Data Engineering Concepts: 101 Concepts Every Data Engineer Should Know

https://www.ssp.sh/brain/data-engineering-concepts/
2•zazuke•12m ago•0 comments

Good Enough to Ship

https://givedirection.com/blog/01-good-enough-to-ship.html
1•AndrewKemendo•12m ago•0 comments

PineForge – PineScript v6 to C++, trade-for-trade with TradingView

https://github.com/pineforge-4pass/pineforge-engine
1•luisleo526•13m ago•0 comments

Reduce Claude costs by changing Effort/Thinking parameters

1•ai_tokencost•13m ago•0 comments

Monako: Linux-Powered 48g Smart Glasses with Display

https://www.monako.ai/
1•EvanZhouDev•15m ago•0 comments

Uber list of strangest lost-and-found items: Dentures, butterflies, dishwasher

https://abcnews.com/US/uber-releases-list-strangest-lost-found-items-dentures/story?id=133532267
1•speckx•16m ago•0 comments

Pocket Symphonies

https://www.the-hinternet.com/p/pocket-symphonies
1•paulpauper•16m ago•0 comments

The method for counting 52,019 puffins

https://www.welshwildlife.org/news/another-record-breaking-year-skomer-what-it-takes-count-52019-...
1•paulpauper•17m ago•0 comments

L402: A Universal HTTP-Based Payment Flow for Agents

https://www.l402.org
1•Hakeemmidan•19m ago•1 comments

Fontastic Space – Find Mathematically Optimal Font Pairings

https://fontastic.space/
1•speckx•20m ago•0 comments

Boston's Great Molasses Flood of 1919

https://www.popularmechanics.com/science/a71455129/boston-molasses-flood/
1•gbourne1•23m ago•0 comments

Leaving the tracking pixel machine to learn C

https://paolobietolini.com/pensieri/leaving-the-tracking-pixel-machine/
1•H501•25m ago•1 comments

Using Cash as a Payment Method

https://help.uber.com/riders/article/using-cash-as-a-payment-method?nodeId=6aa4d7c2-ebb8-4b5e-b09...
2•866-RON-0-FEZ•25m ago•0 comments

Show HN: Moxie Docs – Automatic codebase documentation and MCP

https://moxiedocs.com
1•ghosts_•25m ago•0 comments

Europe Wants to Be Less Reliant on American Tech. Here's Its Plan

https://www.nytimes.com/2026/06/03/technology/european-union-tech-sovereignty.html
2•Teever•28m ago•1 comments

Stop freeloading off open source

https://falconer.com/notes/stop-freeloading-open-source/
3•iamgioh•29m ago•0 comments

Attestation Is All You Need

https://jperla.com/blog/attestation-is-all-you-need?q=32
2•ljlolel•29m ago•0 comments

Show HN: CTP Room – a shared chat room where your AI coding agents coordinate

1•vukasinrancic•30m ago•0 comments

Parsing 1B Rows in Java: Insane Speed Test by Roy van Rijn

https://www.youtube.com/watch?v=pHZF-zJ3Bpg&list=PLEx5khR4g7PINwOsYrkwz3lTTJUYoXC53
1•birdculture•31m ago•0 comments