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

Comments

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

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

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

Are You Comfortable Putting Your Name on This? (AI-Assisted Development)

https://vibe2value.com/are-you-comfortable-putting-your-name-on-this/
1•mattcameron•1m ago•0 comments

We Built a 100K-Line Enterprise App Using AI – Here's Why Vibe-Coding Couldn't

https://medium.com/towards-artificial-intelligence/we-built-a-100k-line-enterprise-app-using-ai-h...
1•anil789•1m ago•1 comments

Hugging Face Storage Buckets

https://huggingface.co/storage
1•nnx•1m ago•0 comments

Are you letting agents run infra tools / scripts yet?

1•shashahchk•4m ago•1 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
2•mikece•8m ago•0 comments

Separating AI agent reasoning from execution, crypto binding execution

1•ketanbj•9m ago•0 comments

Standardizing Source Maps

https://bloomberg.github.io/js-blog/post/standardizing-source-maps/
1•Timothee•10m ago•0 comments

Microsoft backs Anthropic to halt US DoD's 'supply-chain risk' designation

https://www.reuters.com/legal/litigation/microsoft-files-amicus-brief-support-anthropics-lawsuit-...
1•drewda•11m ago•0 comments

CVE-2026-3288: K8s ingress-nginx path injection via rewrite-target annotation

https://nvd.nist.gov/vuln/detail/CVE-2026-3288
1•zdkaster•13m ago•1 comments

Ask HN: Devs who are out of work – what are you doing for income now?

1•a1n•15m ago•0 comments

Trump says U.S. will build first refinery in 50 years

https://www.cnbc.com/2026/03/11/trump-us-oil-refinery-reliance-ambani-texas-india-shale-wti.html
3•kamaraju•24m ago•0 comments

A Mysterious Signal Transfixes Radio Sleuths and Intelligence Experts

https://www.rferl.org/a/mystery-numbers-station-persian-signal-iran-war/33700659.html
2•willvk•34m ago•0 comments

Sergey Brin Funds Misleading Ballot Measure to Negate Wealth Tax

https://prospect.org/2026/03/10/google-brin-california-wealth-tax-ballot-measure/
19•dlipovetsky•34m ago•6 comments

Switch: Benchmarking the Handling of TCIs in Long-Horizon Embodied Scenarios

https://huggingface.co/papers/2511.17649
1•tellarin•40m ago•0 comments

I built a free narrative game inspired by Daniel Kokotajlo's AI 2027 essay

https://ai2028.ai/
1•geniusxp•41m ago•1 comments

Improving instruction hierarchy in frontier LLMs

https://openai.com/index/instruction-hierarchy-challenge
1•surprisetalk•43m ago•0 comments

Microsoft uses plagiarized AI slop flowchart to explain how GitHub works

https://www.pcgamer.com/software/ai/microsoft-uses-plagiarized-ai-slop-flowchart-to-explain-how-g...
3•gpvos•44m ago•0 comments

Maybe we can keep on coding? pseudo code project

4•EmptyDrum•46m ago•3 comments

MCP Weekly: OpenAI Raises $110B, Anthropic Faces Defense Showdown

https://www.gentoro.com/blog/mcp-weekly-openai-raises-110b-anthropic-faces-defense-showdown-and-g...
1•ashutosh0707•47m ago•0 comments

The State of Rust Allocators in 2026

https://cetra3.github.io/blog/state-of-allocators-2026/
2•cetra3•52m ago•0 comments

Naplan resumes after earlier technical issues paused online testing

https://www.abc.net.au/news/2026-03-11/naplan-technical-issues-disrupt-school-testing/106440510
2•langfo•52m ago•0 comments

Ask HN: How are you managing "prompt fatigue" and lazy LLM outputs?

4•thlangu•52m ago•1 comments

Show HN: ClawSoc – Observe Your AI Agent in an AI Society

https://clawsoc.io
4•benjosaur•54m ago•0 comments

Promptbuilder Tool

https://promptengine.business
2•thlangu•55m ago•0 comments

Show HN: Magicly – an aesthetic new tab with a magic orb

https://chromewebstore.google.com/detail/magicly/lphplecibkpifdmohbockmaloepgpbbl
2•tamnv•56m ago•0 comments

.NET 11 Preview 2 is now available

https://devblogs.microsoft.com/dotnet/dotnet-11-preview-2/
1•vyrotek•57m ago•0 comments

MacBook Neo Review: No Other Budget Laptop Can Compete

https://gizmodo.com/macbook-neo-review-no-other-budget-laptop-can-compete-2000731635
7•thunderbong•57m ago•0 comments

Signal Design for Good Correlation

https://www.cambridge.org/core/books/signal-design-for-good-correlation/4A48F8F2070E0EB093283A792...
2•programmexxx•57m ago•0 comments

How the "godfathers of AI" have shaped our mission

https://ctsmyth.substack.com/p/standing-with-giants
1•K0balt•59m ago•1 comments

Show HN: CryptoFlora – Visualize SHA256 to a flower using Rose curves

https://crypto-flora.tonytonyjan.net/
1•tonytonyjan•1h ago•0 comments