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•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.

More Stupid Medium Stats Tricks

https://medium.com/luminasticity/more-stupid-medium-stats-tricks-41150cbbc6e0
1•bryanrasmussen•1m ago•0 comments

Your Slop, My Sludge

https://justingarrison.com/blog/2026-05-19-your-slop-my-sludge/
1•wapasta•3m ago•0 comments

Fast Factorial Algorithms

http://www.luschny.de/math/factorial/FastFactorialFunctions.htm
1•nill0•6m ago•0 comments

OpenAI commits S$300M to grow Singapore's AI capabilities

https://www.channelnewsasia.com/singapore/openai-singapore-300-million-ai-6128036
1•doppp•8m ago•0 comments

List of Consumer Reporting Companies [pdf]

https://files.consumerfinance.gov/f/documents/cfpb_consumer-reporting-companies_list_2025.pdf
1•m3047•8m ago•1 comments

Alternatives for the EDIT tool of LLM agents

https://antirez.com/news/166
1•calvinfo•13m ago•0 comments

Google to release first smart glasses since Google Glass flop

https://www.bbc.com/news/articles/cvgz1ynq1nqo
1•1659447091•14m ago•0 comments

Positive Alignment: Artificial Intelligence for Human Flourishing

https://arxiv.org/abs/2605.10310
1•lexandstuff•25m ago•0 comments

I Asked ChatGPT to Manage a Stock Portfolio

https://www.wsj.com/finance/investing/i-asked-chatgpt-to-manage-a-stock-portfolio-heres-how-it-di...
2•lxm•26m ago•1 comments

Slap Links – A Chrome extension inspired by SlapMac

https://slaplinks.app/
2•_matiassalles99•27m ago•1 comments

I'm Watching a Humanoid Robot Sort Packages

https://jpain.io/im-watching-a-humanoid-robot-sort-packages/
2•Eighth•29m ago•0 comments

LLM detector with science behind it

https://huggingface.co/spaces/akolpakov/SatorArepo
1•bold_iggl•33m ago•0 comments

Ask HN: What are Stainless users doing now that Anthropic has killed it?

4•ubutler•33m ago•0 comments

The Incompatibilities Between Generative AI and Art: Q&A with Ted Chiang

https://cdh.princeton.edu/blog/ted-chiang/
3•georgecmu•37m ago•2 comments

Show HN: Javalamp – A glowing terminal screensaver that keeps your Mac awake

https://github.com/breschio/javalamp
2•tbreschi•37m ago•0 comments

Everlane Represented a Millennial Ideal. Is It Dead?

https://www.nytimes.com/2026/05/19/style/the-fashions-shein-everlane-gucci-times-square.html
1•lxm•42m ago•0 comments

Tasks.org on Desktop

https://tasks.org/blog/desktop-app/
2•Quizzical4230•42m ago•0 comments

Canine Anatomy

https://veteriankey.com/canine-anatomy/
2•num42•43m ago•0 comments

S. 'Soma' Somasegar, 1966-2026: Microsoft and Madrona leader has passed away

https://www.geekwire.com/2026/s-soma-somasegar-1966-2026-microsoft-and-madrona-leader-was-a-champ...
2•SilverElfin•43m ago•1 comments

Supranim – Just a Bloody Web Framework Written in Nim

https://github.com/supranim/supranim
2•TheWiggles•44m ago•0 comments

The Wireworld Computer(1987)

https://www.quinapalus.com/wi-index.html
1•o4c•51m ago•0 comments

Evals Will Break and You Won't See It Coming

https://wanglun1996.github.io/blog/your-evals-will-break.html
2•rajveerb•51m ago•1 comments

Training within 10 hours of bedtime measurably hurts recovery

https://tryterra.co/research/best-time-to-workout-for-sleep
3•kyriakosel•57m ago•0 comments

Company Was an American Success Story. Until MAHA Influencers Sank It

https://www.thefp.com/p/this-company-was-an-american-success-until-maha-sank-it
1•rmason•57m ago•1 comments

Trump Order Would Push Banks to Check Clients' Citizenship Status

https://www.wsj.com/finance/regulation/trump-order-would-push-banks-to-check-clients-citizenship-...
3•petethomas•1h ago•0 comments

You Can't Park at 0.1c

https://samirvarma.substack.com/p/you-cant-quietly-park-at-01c
2•qsi•1h ago•0 comments

What are account recovery options with FusionAuth?

https://fusionauth.io/community/forum/topic/3133/what-are-account-recovery-options-with-fusionauth
1•mooreds•1h ago•0 comments

Why "Fast AI" and "Safe AI" Were Never in Conflict

https://www.enkryptai.com/blog/why-fast-ai-and-safe-ai-were-never-actually-in-conflict
2•mooreds•1h ago•0 comments

Etymonline: An Online Etymology Dictionary

https://www.etymonline.com
1•airstrike•1h ago•0 comments

Debunking the job-hopping myth: A Data-Driven Look at Tenure and Turnover [pdf]

https://www.nirsonline.org/wp-content/uploads/2025/09/25-Debunking-Job-Hopping-Myth_FINAL.pdf
2•gmays•1h ago•0 comments