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.

Microsoft Weighs DeepSeek for Copilot Cowork

https://www.axios.com/2026/06/16/microsoft-copilot-cowork-tokenmaxxing-cowork
1•somenameforme•1m ago•0 comments

US holds off blacklisting China's DeepSeek, +100 firms deemed security risks

https://www.reuters.com/world/china/us-holds-off-blacklisting-chinas-deepseek-more-than-100-firms...
1•giuliomagnifico•2m ago•0 comments

Florida AG sues TikTok in latest move against tech giants

https://www.politico.com/news/2026/06/15/florida-lawsuit-tiktok-uthmeier-childrens-safety-00962084
1•1vuio0pswjnm7•4m ago•0 comments

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
2•asasidh•7m ago•1 comments

Greenville TX "Welcome Sign" – The Story Behind

https://dallasgateway.com/greenville-tx-welcome-sign/
1•thunderbong•9m ago•0 comments

AmigaOS 2: The Greatest Upgrade

https://www.datagubbe.se/os20up/
1•HotGarbage•11m ago•0 comments

How agentic AI is rewiring Amazon's teams and upending its traditions

https://www.geekwire.com/2026/how-agentic-ai-is-rewiring-amazons-teams-and-upending-its-traditions/
1•Gaishan•12m ago•1 comments

How the UK Plans to Keep Children Off Social Media

https://www.bloomberg.com/news/articles/2026-06-15/social-media-ban-for-uk-s-under-16s-how-will-p...
1•1vuio0pswjnm7•14m ago•0 comments

DOJ claims xAI's gas turbines are a matter of 'national and energy security'

https://techcrunch.com/2026/06/16/doj-claims-xais-unpermitted-gas-turbines-are-a-matter-of-nation...
2•dlgeek•15m ago•1 comments

My router said sonnet. The invoice said fable

https://ax.necmttn.com
1•necmttn•22m ago•0 comments

Algorithmic Information Theory Data Compression Challenge

https://arxiv.org/abs/2606.17712
1•ahsillyme•22m ago•0 comments

Diary of a Disabled DJ – Entry 2

https://samhenrycliff.medium.com/diary-of-a-disabled-dj-entry-2-c64e31907ee5
1•6stringmerc•26m ago•0 comments

Chrome Extension That Disguises Claude as a Google Doc

https://twitter.com/om_patel5/status/2066011171967127643
2•vantareed•27m ago•0 comments

Made verifiable auth with no central credential store to breach. roast it

https://tidesupreme.github.io/
2•sashyo•27m ago•0 comments

Show HN: Loomcycle – a sidecar runtime for AI agents (Go binary, Apache-2.0)

https://github.com/denn-gubsky/loomcycle
2•denn-gubsky•31m ago•0 comments

Semiclassical Gravity Efficiently Solves NP-Complete Problems

https://arxiv.org/abs/2606.14806
4•ascarshen•32m ago•0 comments

Mastra compromised in supply chain attack

https://www.endorlabs.com/learn/mastra-npm-org-compromised-multiple-packages-trojanized-to-drop-a...
3•bugvader•33m ago•2 comments

Token spend is not token capital

https://twitter.com/TJWXF3/status/2067080353081356313
3•tomjwxf•34m ago•0 comments

Not everything needs to be groundbreaking

https://pipsthoughts.substack.com/p/not-everything-needs-to-be-groundbreaking
2•PenPressman•34m ago•1 comments

Malaysia's AI agent-powered messaging app Respond.io raises $62.5M

https://techcrunch.com/2026/06/15/malaysias-respond-io-raises-62-5m-eyes-acquisitions-in-north-am...
2•doppp•40m ago•0 comments

I Built a POS App for Businesses That Still Use Notebooks and Excel

https://www.indiehackers.com/post/i-built-a-pos-app-for-businesses-that-still-use-notebooks-and-e...
2•cas8398•40m ago•0 comments

US approval of Paramount/Warner Bros. deal surprised DOJ lawyers, report says

https://arstechnica.com/tech-policy/2026/06/us-approval-of-paramount-warner-bros-deal-surprised-d...
8•derbOac•47m ago•0 comments

Agentic Grocery Shopping on Uber Eats

https://www.uber.com/us/en/blog/uber-cart-assistant/
2•samrohn•47m ago•1 comments

Indian telecom operator Reliance sabotages Telegram access outside India

https://twitter.com/durov/status/2066945969854234977
3•aayushdutt•54m ago•0 comments

Show HN: SciFigureAI – AI figure maker for research papers

https://scifigureai.com
2•jiangyifeng•57m ago•0 comments

ZFSBootMenu

https://zfsbootmenu.org
4•porjo•59m ago•0 comments

Headroom

https://github.com/chopratejas/headroom
2•marc__1•1h ago•0 comments

Helios: Turn Code into Video

https://www.heliosrender.com
2•wahnfrieden•1h ago•0 comments

Upgrading My Git Embedding Program for Zig 0.16

https://louislefebvre.net/tech/zig-upgrade-16/
2•louislef299•1h ago•0 comments

From AGI to ASI

https://deepmind.google/research/publications/239142/
3•danielmorozoff•1h ago•1 comments