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.

Exploring BPF LSM support on aarch64 with ftrace

https://www.exein.io/blog/exploring-bpf-lsm-support-on-aarch64-with-ftrace
1•ankitg12•4m ago•0 comments

Show HN: StreamVault

https://streamvaults.ru/
2•hannil55•4m ago•0 comments

Jscbjscbs

https://news.ycombinator.com/submit
1•cwsrider•9m ago•0 comments

Natural Born Bloggers

https://spyglass.org/om/
2•imartin2k•11m ago•0 comments

Empero-AI/Qwythos-9B-Claude-Mythos-5-1M

https://huggingface.co/empero-ai/Qwythos-9B-Claude-Mythos-5-1M
1•vednig•13m ago•0 comments

Ask HN: Have the founders of Palentir and Anduril ever read Tolkien?

1•nativeit•13m ago•0 comments

Scott Aaronson's Trevisan Award Acceptance Speech

https://scottaaronson.blog/?p=9881
1•Jun8•13m ago•0 comments

Show HN: Mentionkit – Track your brand mentions across LinkedIn, X and more

https://mentionkit.com/
1•shash7•16m ago•0 comments

3D-printed metal wristwatch with LED matrix display

https://old.reddit.com/r/Watches/comments/1ui3lvy/project_my_brother_and_i_designed_our_own/
1•huhtenberg•21m ago•0 comments

Turning Strava data and gym photos into a training recap with my coding agent

https://www.akashtandon.in/ai/2026-06-29-strava-photos-training-recap-coding-agent/
1•akashtndn•22m ago•0 comments

Show HN: AI agent for software user community support

2•Daniel-Pan•24m ago•1 comments

White working-class children failed by education system, says inquiry

https://www.bbc.co.uk/news/articles/cq51j10q601o
1•mmarian•26m ago•0 comments

Would Claude Refuse an Illegal Military Order?

https://www.theatlantic.com/national-security/2026/06/claude-anthropic-ai-warfare-orders/687581/
1•abdelhousni•27m ago•1 comments

Show HN: Nearest-neighbor, a dating app for AI agents

https://nearest-neighbor.replygirl.club/
1•replygirl•30m ago•0 comments

Israel deployed troops to Somaliland after recognition, source says

https://www.middleeasteye.net/news/israel-deployed-troops-somaliland-after-recognition-official
1•littlexsparkee•34m ago•0 comments

Squish – The fastest way to run local LLMs on Apple Silicon

https://squish.run/
2•jscohn85•34m ago•0 comments

Moving Car-Free as a Parent

https://maxmautner.com/2026/06/27/moving-as-a-parent.html
2•mslate•35m ago•0 comments

Names in the USA (1880-2025)

https://liorsinai.github.io/coding/2026/06/21/names.html
1•the_origami_fox•36m ago•0 comments

InnerRipple, on device health scoring against your own Apple Watch baseline

https://apps.apple.com/us/app/innerripple-know-your-health/id6774995186
1•stillraft•36m ago•0 comments

About Walt Disney

https://d23.com/about-walt-disney/
1•teleforce•38m ago•0 comments

Ask HN: What's one thing you wish AI did well?

1•akashwadhwani35•45m ago•2 comments

RedNote Xiaohongshu is said to ready Hong Kong IPO filing this month

https://www.bloomberg.com/news/articles/2026-06-15/xiaohongshu-is-said-to-ready-hong-kong-ipo-fil...
3•teleforce•50m ago•1 comments

AI coding agents(Claude, Cursor) ask questions, share learnings, and blueprints

https://agents.stackoverflow.com/recent
1•rushil_b_patel•51m ago•0 comments

Prompt Injection Defense

https://pypi.org/project/prompt-injection-defense/
1•rghosh8•54m ago•0 comments

You aren't ready to be your own boss until you read this

https://comuniq.xyz/post?t=1330
4•01-_-•54m ago•0 comments

85% of kids are still using social media despite ban

https://theconversation.com/85-of-kids-are-still-using-social-media-despite-ban-but-we-need-a-new...
2•01-_-•55m ago•0 comments

Trump's U-Turn on Iran Sanctions Would Unravel Decades of Curbs

https://www.bloomberg.com/news/articles/2026-06-28/trump-s-u-turn-on-iran-sanctions-would-unravel...
1•petethomas•55m ago•0 comments

Reinforcement learning towards broadly and persistently beneficial models

https://alignment.openai.com/beneficial-rl/
2•spicypete•1h ago•0 comments

Is Sunscreen the New Margarine?

https://www.outsideonline.com/health/wellness/sunscreen-sun-exposure-skin-cancer-science/
4•markgavalda•1h ago•0 comments

Show HN: WinPodX – run Windows apps on Linux, VM looks like real hardware

https://www.winpodx.org/
1•kernalix7•1h ago•0 comments