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.

Why do AI models hallucinate? [video]

https://www.youtube.com/watch?v=005JLRt3gXI
1•simonebrunozzi•30s ago•0 comments

Rabbi boasting of buldozing Gazan homes to light torch for Israel's national day

https://www.theguardian.com/world/2026/apr/21/rabbi-who-boasts-bulldozing-palestinian-homes-light...
1•hebelehubele•3m ago•0 comments

Ask HN: People who moved away from tech business/career, what do you do?

1•throwaway_32u10•4m ago•0 comments

Delivering a dynamic hexagonal world map in just 10kb

https://calibreapp.com/blog/building-our-beloved-hex-map
1•robin_reala•8m ago•0 comments

A guide on how to be a Programmer (2002)

https://github.com/braydie/HowToBeAProgrammer
1•downbad_•18m ago•1 comments

Colorado Age Attestation bill gets amendments to have open source excluded

https://www.gamingonlinux.com/2026/04/colorado-age-attestation-bill-gets-amendments-to-have-open-...
2•jurgemaister•26m ago•0 comments

SpaceX says unproven AI space data centers may not be commercially viable

https://www.reuters.com/world/spacex-says-unproven-ai-space-data-centers-may-not-be-commercially-...
2•1vuio0pswjnm7•28m ago•0 comments

Went to bed with a $10 budget alert. Woke up to $25,672 in debt to Google Cloud

https://old.reddit.com/r/googlecloud/comments/1ssagtw/went_to_bed_with_a_10_budget_alert_woke_up_to/
2•ratg13•29m ago•1 comments

I built a simple flowchart tool to organize ideas

https://www.processon.io/
1•shujie_li•30m ago•0 comments

Florida Attorney General launches criminal probe into ChatGPT over FSU shooting

https://apnews.com/article/florida-chatgpt-fsu-gunman-b32a7276426f621193f61a0f904f924c
2•1vuio0pswjnm7•31m ago•0 comments

Show HN: Content-mill: Index any static content into Meilisearch via YAML config

https://github.com/blueinit/content-mill
1•centrali•31m ago•1 comments

Let's Measure Gravity

https://owl.billpg.com/lets-measure-gravity/
2•billpg•32m ago•0 comments

Show HN: We benchmarked 18 LLMs on OCR (7K+ calls) – cheaper models win

https://www.arbitrhq.ai/leaderboards/
3•TimoKerr•33m ago•1 comments

Top Law Firm Apologizes to Bankruptcy Judge for AI Hallucination

https://www.bloomberg.com/news/articles/2026-04-21/top-law-firm-apologizes-to-bankruptcy-judge-fo...
2•1vuio0pswjnm7•34m ago•0 comments

Show HN: Notation – an iOS chess coach (Stockfish and optional BYOK Claude)

https://notationchesscoach.app
1•darrenc81•35m ago•1 comments

Orson Scott Card on feedback from editors

https://twitter.com/i/status/2046702294406680751
2•Michelangelo11•36m ago•1 comments

You can make something good

https://sfalexandria.com/posts/farzas-creations/
1•aadillpickle•41m ago•0 comments

Git for web services – everything as a file for coding agents

https://github.com/KrzysztofBogdan/gitfs
1•kpbogdan•42m ago•1 comments

American Supply Chain

https://twitter.com/bihanmahadewa/status/2046732759339552772
1•bihan•42m ago•1 comments

In Search of (Claude's) Lost Time - Globalizing Claude's project memories

https://www.gsarigiannidis.gr/claude-global-memory/
2•gsarig•45m ago•0 comments

Deep Research Max

https://blog.google/innovation-and-ai/models-and-research/gemini-models/next-generation-gemini-de...
2•markerbrod•45m ago•0 comments

Aube: A fast Node.js package manager

https://github.com/endevco/aube
1•icar•45m ago•0 comments

Spain's greatest matador gored by bull in comeback from retirement

https://www.thetimes.com/world/europe/article/morante-bullfighter-injured-bull-goring-tsj0bt7ks
2•petethomas•47m ago•2 comments

C++ Scripting with Libriscv

https://libriscv.no/blog/expert-example/
1•fwsgonzo•48m ago•0 comments

Anthropic CVP – Run 2

https://sunglasses.dev/reports/anthropic-cvp-opus-4-7-evaluation-run-2
1•azrollin•51m ago•0 comments

Shared Agent Harness

https://github.com/goncalossilva/.agents
1•ankitg12•56m ago•0 comments

Rspack 2.0

https://rspack.rs/blog/announcing-2-0
3•0x1997•1h ago•1 comments

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
1•robinhouston•1h ago•0 comments

Force all app traffic into the tunnel in the iOS app

https://mullvad.net/en/blog/force-all-app-traffic-into-the-tunnel
1•eptcyka•1h ago•0 comments

Run Commands on File Event

https://evilcookie.de/on-run-commands-on-file-event.html
1•Tch1b0•1h ago•0 comments