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.

Copilot CLI can now ask a second model to critique the first

https://github.blog/ai-and-ml/github-copilot/github-copilot-cli-combines-model-families-for-a-sec...
1•summarity•53s ago•0 comments

Software Bonkers

https://craigmod.com/essays/software_bonkers/
1•theshrike79•1m ago•0 comments

A Fire Sale Has U.S. Office Buildings Going for 90% Off

https://www.wsj.com/real-estate/commercial/a-fire-sale-has-u-s-office-buildings-going-for-90-off-...
1•blinding-streak•1m ago•0 comments

AI agents that teach, debate and quiz you in real time

https://github.com/THU-MAIC/OpenMAIC
1•steveharing1•1m ago•0 comments

Scriba – an open source agent that turns your voice into a knowledge base

https://github.com/giovannialberto/scriba
1•giovannialb•2m ago•0 comments

Extended Thinking Is Load-Bearing for Senior Engineering Workflows

https://gist.github.com/benvanik/e6c610997e4b06b82385622048079818
1•gmays•3m ago•0 comments

Show HN: The AI Software Factory

https://gethuman.sh/
1•KingOfCoders•4m ago•0 comments

Sora2 API

https://sora2-api.com
1•Mehedy2026•5m ago•0 comments

Facebook account hijacked, attackers use AI photos of victims to promote crypto

https://twitter.com/i/status/2041271005285601621
1•lando2319•6m ago•0 comments

Show HN: Cova – Finds and fixes monitoring blind spots across your stack

https://getcova.ai
1•Paulo75•7m ago•0 comments

Show HN: I built an MCP for finding SWE jobs

https://grepjob.com/mcp-setup
1•kylem866•9m ago•0 comments

Some human written nuance and perspective on the rates situation

https://old.reddit.com/r/ClaudeAI/comments/1scdilx/some_human_written_nuance_and_perspective_on_the/
1•begemotz•10m ago•1 comments

Show HN: Letting an LLM write robot programs

https://boesch.dev/posts/llm-trajectory/
2•encrux•12m ago•0 comments

Show HN: I built a local first web-app that builds 3D maps of your knowledge

https://cognir.netlify.app/
1•Sahil-Das•13m ago•1 comments

I ran an AI pentester on a vibe-coded quiz app and found 22 vulnerabilities

https://github.com/FrancescoStabile/numasec
2•francesco_sta•13m ago•1 comments

Stewart Brand on How Progress Happens

https://www.newyorker.com/books/book-currents/stewart-brand-on-how-progress-happens
1•bookofjoe•14m ago•1 comments

10 Enduring Lessons from Adam Smith

https://thedailyeconomy.org/article/the-wealth-of-nations-at-250-ten-profound-quotations-from-ada...
1•RickJWagner•14m ago•0 comments

Scraping Ecommerce Data with Cloudflare Browser Rendering APIs

https://browserflare.xyz/blog/scraping-walmart-ecommerce-data-with-cloudflare-browser-rendering/
1•hgarg•14m ago•0 comments

Don't Write Like AI (1 of 101): "It's Not X, it's Y"

https://www.blakestockton.com/dont-write-like-ai-1-101-negation/
1•croemer•16m ago•1 comments

Show HN: Factagora API – Before your AI hallucinates, Factagora verifies

https://enterprise.factagora.com/en/api
1•ttlcc13•16m ago•0 comments

I get wanting to test models on CTFs but lame to do this at our university event

https://twitter.com/_sy1vi3/status/2041379985114411379
2•da_grift_shift•16m ago•0 comments

New chip survives 1300°F (700°C) and could change AI forever

https://openyourmindabretumente.blogspot.com/2026/04/this-new-chip-survives-1300f-700c-and.html
1•ericzapata•16m ago•0 comments

Is It Possible That the Oldest Stone Tools on Earth Were Not Made by Humans?

https://www.thecollector.com/lomekwian-oldest-stone-tools/
1•Tomte•17m ago•0 comments

Show HN: Skrun – Deploy any Agent Skill as an API (open source)

https://github.com/skrun-dev/skrun
2•frizull•20m ago•0 comments

ESP32 Intelligent Fire Detection System Using ML/CV for Safety in Indian MSME

https://www.techrxiv.org/doi/full/10.36227/techrxiv.174857955.53524830/v1
3•hellic07•22m ago•4 comments

Greyline: We Built a Counter-Agent to Stop AI Agents from Looting Your API

https://themeridianlab.com/signals/your-api-has-no-idea
2•mmayberry•22m ago•0 comments

Why social change is so excruciatingly difficult

https://www.volts.wtf/p/why-social-change-is-so-excruciatingly
1•speckx•23m ago•0 comments

Show HN: ZeroID – Open-source identity and delegation for autonomous agents

https://github.com/highflame-ai/zeroid
5•saucam•24m ago•0 comments

Show HN: Vulnetix VDB – Live package security within Claude Code

https://www.vulnetix.com/articles/bypassing-scanners
2•ascended•24m ago•1 comments

Trump says 'a whole civilization will die tonight' if Iran does not make a deal

https://www.reuters.com/world/middle-east/trump-says-a-whole-civilization-will-die-tonight-if-ira...
19•jacquesm•29m ago•8 comments