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•11mo ago

Comments

copypaper•11mo 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•11mo ago
What benefits of a framework?

I think that's why I wrote this - I almost completely fail to see them.

proc0•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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.

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
1•jaden•25s ago•0 comments

1 Click authentication with new NPM package

https://www.npmjs.com/package/react-google-one-tap-extention
1•Herod55•1m ago•0 comments

FBI Hacked by L33T Chinese H4XX0R

https://www.politico.com/news/2026/04/01/fbi-hack-surveillance-system-major-incident-00854237
1•OhMeadhbh•3m ago•0 comments

Chinese entrepreneur Zhang Xue's homegrown motorbike makes historic win

https://www.globaltimes.cn/page/202603/1357908.shtml
2•icwtyjj•6m ago•0 comments

Americas military is never coming back from this

https://indi.ca/americas-military-is-never-coming-back-from-this/
1•mediumsmart•11m ago•0 comments

Accurate Determination of Chemical Abundances Near a Supermassive Black Hole

https://arxiv.org/abs/2603.29748
1•bewalt•21m ago•0 comments

Steam on Linux Use Skyrocketed Above 5% in March

https://www.phoronix.com/news/Steam-On-Linux-Tops-5p
7•hkmaxpro•23m ago•0 comments

Amine Swingbed: technology for removing CO² from a habitable spacecraft [pdf]

https://www.astronautical.org/sites/default/files/attachment/Amine%20Swingbed%20Payload%20Technol...
1•thunderbong•28m ago•0 comments

An interactive simulation of how Claude Code's context window fills

https://code.claude.com/docs/en/context-window
1•duyet•28m ago•0 comments

Apple turns 50 today: here's what it does better than PC (no foolin')

https://www.pcgamer.com/hardware/apple-turns-50-today-heres-what-it-does-better-than-pc-no-foolin/
1•evo_9•34m ago•0 comments

50 years measuring the cleanest air

https://www.csiro.au/en/news/All/News/2026/April/50-years-measuring-the-worlds-cleanest-air
1•defrost•36m ago•0 comments

The Anti-Intellectualism of the Silicon Valley Elite

https://www.thenation.com/article/society/peter-thiel-marc-andreessen-silicon-valley-anti-intelle...
4•petethomas•38m ago•1 comments

I got the police called on me and almost got kickedout of uni for my gossip site

1•a_n•38m ago•2 comments

Show HN: Create Programs for Recitals

https://bandmanager.projects.jaygoel.com
1•memset•39m ago•0 comments

Show HN: Agent2; Open-source production runtime for AI agents

https://github.com/duozokker/agent2
1•duozokker•40m ago•0 comments

Why Your Database Optimizer Matters More When AI Writes the Queries

https://medium.com/towards-data-engineering/why-your-database-optimizer-matters-more-when-ai-writ...
1•OnTheFlyJOINs•44m ago•0 comments

Show HN: We open-sourced our content writing workflow as a Claude Code skill

https://www.npmjs.com/package/claude-content-writer
1•arximughal•47m ago•0 comments

Why AI Code Needs the Same Rigor We Should've Been Using All Along

https://whetlan.substack.com/p/why-ai-code-needs-the-same-rigor
2•tabwidth•54m ago•2 comments

Startup founder wanted to pitch, but got issues

https://trellis.law/case/26-civ-00518/a16z-capital-management-llc-vs-dulat-akan
1•elonmm•54m ago•0 comments

Please Help Sam Angelo (Wyomingwoodturner)

1•SquibblesRedux•54m ago•1 comments

Show HN: Semantic atlas of 188 constitutions in 3D (30k articles, embeddings)

https://constitutionalmap.ai/en
2•joaoli131•55m ago•0 comments

Show HN: Linux Kernel Documentation Index-Every Page in the Linux Kernel's Docs

https://github.com/tamnd/kernel-index
1•tamnd•56m ago•0 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
8•1659447091•58m ago•2 comments

Wizards of the Coast Announces the Return of D&D Modules

https://dungeonsanddragonsfan.com/new-dnd-modules/
1•rolph•59m ago•0 comments

NASA's Artemis II Live Views from Orion [video]

https://www.youtube.com/watch?v=6RwfNBtepa4
2•twalichiewicz•59m ago•0 comments

I, OpenClaw, Tackled Visual Studio 2026 and I Had My Human Do the Typing

https://visualstudiomagazine.com/articles/2026/04/01/i-openclaw-tackled-visual-studio-2026-and-i-...
1•shakna•1h ago•0 comments

Refine: AI-Powered Peer Review

https://www.refine.ink/
2•maxutility•1h ago•1 comments

The reputation of troubled YC startup Delve has gotten worse

https://techcrunch.com/2026/04/01/the-reputation-of-troubled-yc-startup-delve-has-gotten-even-worse/
5•SanjayMehta•1h ago•1 comments

The Claude Code Leak

https://build.ms/2026/4/1/the-claude-code-leak/
7•mergesort•1h ago•0 comments

Show HN: Hybro – unify local and remote AI agents in a single agent network

https://hybro.ai
1•kevinlu•1h ago•0 comments